diff -r 3afbd6374442 -r 512951548faa plugins/gallery/viewimage.php --- a/plugins/gallery/viewimage.php Wed Aug 26 23:21:56 2009 -0400 +++ b/plugins/gallery/viewimage.php Wed Aug 26 23:37:37 2009 -0400 @@ -516,7 +516,7 @@ } } - function error_404($userpage = false) + function error_404() { echo '

There is no image in the gallery with this ID.

'; echo '

You have requested an image that couldn\'t be looked up. Please check the URL and try again, or visit the Gallery index.

';