diff --git a/CHANGELOG.md b/CHANGELOG.md index 48e8654d8..9d775b7a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +# v1.4.3 +## mm/dd/2018 + +1. [](#bugfix) + * ix for bad reference to `ZipArchive` in `GPM::Installer` + # v1.4.2 ## 03/21/2018 @@ -11,7 +17,7 @@ * Fixed an issue with Markdown Video and Audio that broke after Parsedown 1.7.0 Security updates [#1924](https://github.com/getgrav/grav/issues/1924) * Fix for case-sensitive page metadata [admin#1370](https://github.com/getgrav/grav-plugin-admin/issues/1370) * Fixed missing composer requirements for the new `Grav\Framework\Uri` classes - * Added missing PSR-7 vendor library required for URI additions in Grav 1.4.0 + * Added missing PSR-7 vendor library required for URI additions in Grav 1.4.0 # v1.4.1 ## 03/11/2018 diff --git a/system/src/Grav/Common/GPM/Installer.php b/system/src/Grav/Common/GPM/Installer.php index a32e1e1b0..25507f261 100644 --- a/system/src/Grav/Common/GPM/Installer.php +++ b/system/src/Grav/Common/GPM/Installer.php @@ -202,35 +202,35 @@ class Installer protected static function getZipError($res) { switch($res){ - case ZipArchive::ER_EXISTS: + case \ZipArchive::ER_EXISTS: $error = "File already exists."; break; - case ZipArchive::ER_INCONS: + case \ZipArchive::ER_INCONS: $error = "Zip archive inconsistent."; break; - case ZipArchive::ER_MEMORY: + case \ZipArchive::ER_MEMORY: $error = "Malloc failure."; break; - case ZipArchive::ER_NOENT: + case \ZipArchive::ER_NOENT: $error = "No such file."; break; - case ZipArchive::ER_NOZIP: + case \ZipArchive::ER_NOZIP: $error = "Not a zip archive."; break; - case ZipArchive::ER_OPEN: + case \ZipArchive::ER_OPEN: $error = "Can't open file."; break; - case ZipArchive::ER_READ: + case \ZipArchive::ER_READ: $error = "Read error."; break; - case ZipArchive::ER_SEEK: + case \ZipArchive::ER_SEEK: $error = "Seek error."; break;