PEAK XOOPS - Small bug with categories in picture submission in englishin japanese

Small bug with categories in picture submission

List posts in the topic

question Small bug with categories in picture submission

msg# 1
depth:
0
Previous post - Next post | Parent - Children.1 | Posted on 2004/5/15 1:39
Elleomea  二等兵   Posts: 1
Hi, I'm not sure if this has been noted before (I haven't seen any reference to it) but there's a slight bug in the submission system. If the submission is previewed then the category is reset to the first item in the list.

Around line 258 of submit.php you check for 'cid' (the category ID) via $_GET, you also need to check via $_POST so it recieves it from the preview. I just added:

if(!$cid) { $cid=intval($_POST['cid']); }

after line 258 and it now works perfectly well.

Hope this is useful .

P.S.
This is with version 2.6, just check with 2.7 on this site and the bug still seems to exist though. Line numbering may differ though.
Votes:0 Average:0.00

Posts tree

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!