Menu

#45 solution for dueDate uncleanly put in DB

open
nobody
None
5
2002-11-20
2002-11-20
No

- for people seting their 'register_globals = Off' (for
security reasons and good style programming) :
1) the $dueDate which is a concatenation of
$HTTP_POST_VARS["theYear"], $HTTP_POST_VARS["theMonth"]
and $theDay however the $theDay variable is empty
because it doesn't match the one retrieved from the
post so :
2) replace $theDay with $HTTP_POST_VARS["theDay"] in
"newbug.php"(in lines between 54 and 58) and
"editbug.php"(in lines between 66 and 70)

-for everybody else check out editbug.php, the month
listing in the "theMonth" selection affect 10 for
october and november, november should be affected 11
instead.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB