git://git.onelab.eu
/
plewww.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
display error when failed to update interface.
[plewww.git]
/
planetlab
/
common
/
actions.php
diff --git
a/planetlab/common/actions.php
b/planetlab/common/actions.php
index
c93a326
..
ffb6bc1
100644
(file)
--- 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));
}