// remove warning Notice: Undefined variable: connections in AdminCustomersController.php on line 702
This commit is contained in:
1 parent
3e33a259ef
commit
56693da6e0
1 file changed
+2
@@ -646,6 +646,8 @@ class AdminCustomersControllerCore extends AdminController
|
|||||||
}
|
}
|
||||||
|
|
||||||
$connections = $customer->getLastConnections();
|
$connections = $customer->getLastConnections();
|
||||||
|
if (!is_array($connections))
|
||||||
|
$connections = array();
|
||||||
$total_connections = count($connections);
|
$total_connections = count($connections);
|
||||||
for ($i = 0; $i < $total_connections; $i++)
|
for ($i = 0; $i < $total_connections; $i++)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in new issue
Block a user