mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-11-03 23:42:27 +01:00
(cp fbaf2fdaf) change integer cast
This commit is contained in:
1 parent
5c5f21987c
commit
df42eb4133
1 file changed
+1
-1
@@ -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