diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-24 16:59:33 -0700 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-09-24 16:59:33 -0700 |
commit | 970158f4d9904d00319c3da421024c68777a855d (patch) | |
tree | e92f2b2b8683dad86556680815fa09a07dc7a515 /modules/gallery/helpers | |
parent | c51c76dcaa41085eb5cb7a1a0299bb378a175372 (diff) |
Fix unit tests by updating the xss golden file and declaring gallery_error::error_handler as static
Diffstat (limited to 'modules/gallery/helpers')
-rw-r--r-- | modules/gallery/helpers/gallery_error.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/gallery_error.php b/modules/gallery/helpers/gallery_error.php index 91e05407..39568c93 100644 --- a/modules/gallery/helpers/gallery_error.php +++ b/modules/gallery/helpers/gallery_error.php @@ -18,7 +18,7 @@ * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ class gallery_error_Core { - function error_handler($severity, $message, $filename, $lineno) { + static function error_handler($severity, $message, $filename, $lineno) { if (error_reporting() == 0) { return; } |