aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/pclzip.lib.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2015-12-10 14:03:54 +0100
committerplegall <plg@piwigo.org>2015-12-10 14:03:54 +0100
commited8db3da2787d8068f18e0ddc806294f759b8010 (patch)
treeac5aedac9d475fa8130e058fd2e8412ac4368cb6 /admin/include/pclzip.lib.php
parentfa10e0945ecd45bfe78a2c8fb015a43092b4944b (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/pclzip.lib.php')
-rw-r--r--admin/include/pclzip.lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/include/pclzip.lib.php b/admin/include/pclzip.lib.php
index e7facc1ea..c2d09a50c 100644
--- a/admin/include/pclzip.lib.php
+++ b/admin/include/pclzip.lib.php
@@ -212,7 +212,7 @@
// Note that no real action is taken, if the archive does not exist it is not
// created. Use create() for that.
// --------------------------------------------------------------------------------
- function PclZip($p_zipname)
+ function __construct($p_zipname)
{
// ----- Tests the zlib