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/tabsheet.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/tabsheet.class.php')
-rw-r--r-- | admin/include/tabsheet.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/tabsheet.class.php b/admin/include/tabsheet.class.php index c7681b611..959444a21 100644 --- a/admin/include/tabsheet.class.php +++ b/admin/include/tabsheet.class.php @@ -33,7 +33,7 @@ class tabsheet $name is the tabsheet's name inside the template .tpl file $titlename in the template is affected by $titlename value */ - function tabsheet($name = 'TABSHEET', $titlename = 'TABSHEET_TITLE') + function __construct($name = 'TABSHEET', $titlename = 'TABSHEET_TITLE') { $this->sheets = array(); $this->uniqid = null; |