array
(
'name' => !mb_strlen ($new_name) ? NULL : $new_name,
- 'label' => $new_label,
+ 'label' => !mb_strlen ($new_label) ? NULL : $new_label,
'barcode' => !mb_strlen ($new_barcode) ? NULL : $new_barcode,
'has_problems' => $new_has_problems,
'asset_no' => !mb_strlen ($new_asset_no) ? NULL : $new_asset_no,
$query[] = "INSERT INTO `Config` (varname, varvalue, vartype, emptyok, is_hidden, description) VALUES ('SYNCDOMAIN_MAX_PROCESSES','0','uint','yes','no', 'How many worker proceses syncdomain cron script should create')";
$query[] = "ALTER TABLE `VLANSwitchTemplate` ADD COLUMN `mutex_rev` int(10) NOT NULL AFTER `max_local_vlans`";
$query[] = "ALTER TABLE `VLANSwitchTemplate` ADD COLUMN `saved_by` char(64) NOT NULL AFTER `description`";
+ $query[] = "UPDATE RackObject SET label = NULL WHERE label = ''";
$query[] = "UPDATE Config SET varvalue = '0.19.0' WHERE varname = 'DB_VERSION'";
break;
default: