} 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) {
EOF;
$toggle = new PlekitToggle ('create-slice-details','Slice Details',
- array ('visible'=>get_arg('show_slice',true)));
+ array ('visible'=>get_arg('show_slice')));
$details = new PlekitDetails(TRUE);
$form_variables = array('site_id'=>plc_my_site_id());
if ($persons) {
$title = count($persons) . " people can be added in slice";
$toggle=new PlekitToggle ('create-slice-persons',$title,
- array('visible'=>get_arg('show_persons',true)));
+ array('visible'=>get_arg('show_persons')));
$toggle->start();
$headers = array();