From 36816328c6f2ec97aad7059e90011b18d77e6d75 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Mon, 12 Sep 2011 11:50:13 +0200 Subject: [PATCH] minor bugfix for when there's no tag --- planetlab/nodes/slivers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planetlab/nodes/slivers.php b/planetlab/nodes/slivers.php index 62e46de..7310eb5 100644 --- a/planetlab/nodes/slivers.php +++ b/planetlab/nodes/slivers.php @@ -60,7 +60,7 @@ if( $_GET['slice_id'] && $_GET['node_id'] ) { $form->start(); $table->start(); - foreach ($tags as $tag) { + if ($tags) foreach ($tags as $tag) { $table->row_start(); $table->cell($tag['tagname']); $table->cell($tag['value']); -- 2.43.0