From 70489a7ced62033374416a119961f29c62d33e02 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Fri, 27 Nov 2009 14:06:32 +0000 Subject: [PATCH] display error when failed to update interface. --- planetlab/common/actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planetlab/common/actions.php b/planetlab/common/actions.php index c93a326..ffb6bc1 100644 --- a/planetlab/common/actions.php +++ b/planetlab/common/actions.php @@ -455,7 +455,7 @@ switch ($action) { if ($result == 1 ) drupal_set_message ("Interface $interface_id updated"); else - drupal_set_error ("Could not update interface"); + drupal_set_error ("Could not update interface: " . $api->error()); plc_redirect (l_interface($interface_id)); } -- 2.47.0