Running a search that returns no result. You will see the
message "undefined variable data ..."
followed by "sorry, xxx is not found in database. .."
I found that it was caused by the fetch_array function. I changed the code
a bit, adding a check condition to see if $data is declared, if not,
return 0. And I also changed the check condition at line 173 to
if($search_result != 0)
and it worked. Hopefully it helps. :-)
Original issue reported on code.google.com by zhenlilu...@gmail.com on 17 Jul 2009 at 5:30
Original issue reported on code.google.com by
zhenlilu...@gmail.com
on 17 Jul 2009 at 5:30