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
when omf friendly is selected:
[plewww.git]
/
planetlab
/
slices
/
slice_add.php
diff --git
a/planetlab/slices/slice_add.php
b/planetlab/slices/slice_add.php
index
d932212
..
f258bda
100644
(file)
--- a/
planetlab/slices/slice_add.php
+++ b/
planetlab/slices/slice_add.php
@@
-95,6
+95,11
@@
if ( $_POST['add-slice'] ) {
} else {
drupal_set_message("Successfully set the 'omf_control' tag on slice");
}
} else {
drupal_set_message("Successfully set the 'omf_control' tag on slice");
}
+ if ($api->SetSliceVref($slice_id,'omf') != 'omf') {
+ drupal_set_error("Could not set the 'vref' tag on newly created slice...");
+ } else {
+ drupal_set_message("Successfully set the 'vref' tag on slice");
+ }
}
if ($person_ids) {
}
if ($person_ids) {