|
From: Ulf E. <ulf...@fa...> - 2005-09-27 17:09:10
|
Hi Marco, > I got an Warning in my apache error_log, which says > > [error] PHP Warning: in_array(): Wrong datatype for second argument > in /var/www/htdocs/phpbugtracker/inc/functions.php on line What line? > in my functions.php at this line is > > if (($selected == $row['user_id']) || in_array($row['user_id'], $selected)) What version of phpBugTracker is this? The 'owner' case of the big switch in build_select() was modified from what you quote above by this patch: http://cvs.sourceforge.net/viewcvs.py/phpbt/phpbt/inc/functions.php?r1=1.44.2.10&r2=1.44.2.11&only_with_tag=htmltemplates The fix has since been included in 1.0rc5, 1.0rc6, v1.0, and v1.0.1. > Does anybody now about this problem ? I'd say that it is known and fixed.. but please let me know if I am looking at the wrong issue > It occurs, when I load bugdisplay.html and it calls the function > build_select('owner', $assigned_to) . /Ulf |