diff options
author | plegall <plg@piwigo.org> | 2015-12-10 14:03:54 +0100 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2015-12-10 14:03:54 +0100 |
commit | ed8db3da2787d8068f18e0ddc806294f759b8010 (patch) | |
tree | ac5aedac9d475fa8130e058fd2e8412ac4368cb6 /admin/include/c13y_internal.class.php | |
parent | fa10e0945ecd45bfe78a2c8fb015a43092b4944b (diff) |
bug #385 compatibility with PHP7
* replace old-style constructor with PHP5-style constructor (__construct)
* do not call set_magic_quotes_runtime() any longer
* avoid automatic conversion from array to string
Diffstat (limited to 'admin/include/c13y_internal.class.php')
-rw-r--r-- | admin/include/c13y_internal.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/c13y_internal.class.php b/admin/include/c13y_internal.class.php index 10375095a..e0911f7e6 100644 --- a/admin/include/c13y_internal.class.php +++ b/admin/include/c13y_internal.class.php @@ -23,7 +23,7 @@ class c13y_internal { - function c13y_internal() + function __construct() { add_event_handler('list_check_integrity', array(&$this, 'c13y_version')); add_event_handler('list_check_integrity', array(&$this, 'c13y_exif')); |