mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-03-28 17:42:57 +01:00
fixes #2467 change integer cast
This commit is contained in:
@@ -2583,7 +2583,7 @@ function fetchRemote($src, &$dest, $get_data=array(), $post_data=array(), $user_
|
||||
fclose($s);
|
||||
return false;
|
||||
}
|
||||
$status = (integer) $m[2];
|
||||
$status = (int) $m[2];
|
||||
if ($status < 200 || $status >= 400)
|
||||
{
|
||||
fclose($s);
|
||||
|
||||
Reference in New Issue
Block a user