David Everly wrote:
I have had issues when viewing users and then clicking on the
icon_view_borrowed.png: if the users have no books out, there is an
error displayed (something about invoking method on a non-object).
I don't really know much about php, and there is most likely a better
fix than what I've done. However, this patch appears to address the
issue.
Hello,
Thin indeed was a valid finding, and it has been patched, however with
minimal changes.
What You need to bear in mind when coding PHP, is that You cannot check
the existence of a variable using "if($variable)" as this will cause a
warning when the variable is not set. You will have to use
"if(isset($variable))". It took me also a while to get this to be a
routine, actually being a Perl fanatic :-)
Thanks anyways, and please see the latest CVS for the patch.
------------------------------------------------------------------------
_______________________________________________
Emilda mailing list
Emilda@xxxxxxxxxxxxxxxxxx
http://lists.realnode.com/mailman/listinfo/emilda
--
Christoffer Landtman
Oy Realnode Ab
Partner, Sales
+358 (0)41 510 1073
landtman@xxxxxxxxxxx
www.realnode.fi
|