mirror of
https://github.com/Combodo/iTop.git
synced 2026-09-14 18:20:11 +02:00
N°9875 - error msg typo
This commit is contained in:
@@ -3270,10 +3270,10 @@ TXT
|
||||
if (true !== $code) {
|
||||
//ZipArchive::ZIP_ER_NOZIP : 19
|
||||
if ($code === 19) {
|
||||
throw new \Exception(sprintf('Cannot to open zip file due to inconsistent or empty content'));
|
||||
throw new \Exception(sprintf('Cannot open zip file due to inconsistent or empty content'));
|
||||
}
|
||||
|
||||
throw new \Exception(sprintf('Cannot to open zip file due to error code %s', $code));
|
||||
throw new \Exception(sprintf('Cannot open zip file due to error code %s', $code));
|
||||
}
|
||||
return $oZip;
|
||||
}
|
||||
|
||||
@@ -1040,7 +1040,7 @@ INI;
|
||||
public static function ZipArchiveOpen_EmptyExistingFileProvider()
|
||||
{
|
||||
return [
|
||||
"RDONLY" => [\ZipArchive::RDONLY, 'Cannot to open zip file due to inconsistent or empty content'],
|
||||
"RDONLY" => [\ZipArchive::RDONLY, 'Cannot open zip file due to inconsistent or empty content'],
|
||||
"OVERWRITE" => [\ZipArchive::OVERWRITE],
|
||||
];
|
||||
}
|
||||
@@ -1068,7 +1068,7 @@ INI;
|
||||
{
|
||||
return [
|
||||
"CREATE" => [\ZipArchive::CREATE],
|
||||
"null" => [null, 'Cannot to open zip file due to error code 9'],
|
||||
"null" => [null, 'Cannot open zip file due to error code 9'],
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user