Fix a warning

feature/node-rewrite
Sven Slootweg 12 years ago
parent 454d21946a
commit b702923505

@ -17,6 +17,8 @@ try
{ {
$sNode = new Node($router->uParameters[1]); $sNode = new Node($router->uParameters[1]);
$sVpsList = array();
if($result = $database->CachedQuery("SELECT * FROM containers WHERE `NodeId` = :NodeId", array(":NodeId" => $sNode->sId))) if($result = $database->CachedQuery("SELECT * FROM containers WHERE `NodeId` = :NodeId", array(":NodeId" => $sNode->sId)))
{ {
foreach($result->data as $row) foreach($result->data as $row)

Loading…
Cancel
Save