X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FZipDirectoryReader.php;h=0e84583f58b5dfdc8fbe31a08528b53862c2dddf;hb=1ba693980bd5d84a0707309444ecd47452dae716;hp=5b96b409f9b5a6a77d09334625e800469f0815d5;hpb=49df232e1e36c37d09d7674fe5a13d7d5113d861;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/ZipDirectoryReader.php b/includes/ZipDirectoryReader.php index 5b96b409f9..0e84583f58 100644 --- a/includes/ZipDirectoryReader.php +++ b/includes/ZipDirectoryReader.php @@ -696,10 +696,10 @@ class ZipDirectoryReader { * Internal exception class. Will be caught by private code. */ class ZipDirectoryReaderError extends Exception { - var $code; + var $errorCode; function __construct( $code ) { - $this->code = $code; + $this->errorCode = $code; parent::__construct( "ZipDirectoryReader error: $code" ); } @@ -707,6 +707,6 @@ class ZipDirectoryReaderError extends Exception { * @return mixed */ function getErrorCode() { - return $this->code; + return $this->errorCode; } }