From: SourceForge.net <no...@so...> - 2004-10-18 21:02:03
|
Bugs item #1049576, was opened at 2004-10-18 17:02 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=562402&aid=1049576&group_id=81260 Category: None Group: None Status: Open Resolution: None Priority: 5 Submitted By: Steven Levin (jydallstar) Assigned to: Nobody/Anonymous (nobody) Summary: Problem when selecting a new avitar Initial Comment: Found in current CVS version: When going to the Avitar Gallery and choose select from the drop-down and click go without checking an image it removes the association. Is this expected? What I would expect is it to not do anything, just go back to the users settings with the same avitar as before, or show an error message. Bug also generates this php warning. Warning: pos(): Passed variable is not an array or object in /srv/www/htdocs/phpwebsite/steven/phpwebsite/mod/phpwsbb/index.php on line 59 Quick fix is to change line 59 of index.php from: $_POST['IMGLib_selected_image'] = pos($_POST['IMGLib_selected_image']); to: if(isset($_POST['IMGLib_selected_image'])) $_POST['IMGLib_selected_image'] = pos($_POST['IMGLib_selected_image']); I will commit this fix if it is satisfactory, just let me know. Steven ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=562402&aid=1049576&group_id=81260 |