mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-04 01:23:32 +09:00
php7.2 Warning: count(): Parameter must be an array or an object that implements Countable
This commit is contained in:
parent
bec5e9ec5d
commit
fe1c182ecc
1 changed files with 2 additions and 5 deletions
|
|
@ -364,12 +364,9 @@ class FileHandler
|
||||||
}
|
}
|
||||||
Rhymix\Framework\Debug::addRemoteRequest($log);
|
Rhymix\Framework\Debug::addRemoteRequest($log);
|
||||||
|
|
||||||
if(count($response->cookies))
|
foreach($response->cookies as $cookie)
|
||||||
{
|
{
|
||||||
foreach($response->cookies as $cookie)
|
$cookies[$host][$cookie->name] = $cookie->value;
|
||||||
{
|
|
||||||
$cookies[$host][$cookie->name] = $cookie->value;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if($response->success)
|
if($response->success)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue