mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-05-05 04:52:47 +02: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);
|
fclose($s);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
$status = (integer) $m[2];
|
$status = (int) $m[2];
|
||||||
if ($status < 200 || $status >= 400)
|
if ($status < 200 || $status >= 400)
|
||||||
{
|
{
|
||||||
fclose($s);
|
fclose($s);
|
||||||
|
|||||||
Reference in New Issue
Block a user