Cleaned source code style
This commit is contained in:
parent
2c0ac5d4e9
commit
99e7229437
|
@ -320,12 +320,14 @@ switch ($action) {
|
||||||
$values['width'] = $width;
|
$values['width'] = $width;
|
||||||
if ($height !== null)
|
if ($height !== null)
|
||||||
$values['height'] = $height;
|
$values['height'] = $height;
|
||||||
$result = db_process_sql_update('tlayout', $values, array('id' => $id_visual_console));
|
$result = db_process_sql_update('tlayout',
|
||||||
|
$values, array('id' => $id_visual_console));
|
||||||
echo (int)$result;
|
echo (int)$result;
|
||||||
break;
|
break;
|
||||||
case 'simple_value':
|
case 'simple_value':
|
||||||
if ($action == 'update') {
|
if ($action == 'update') {
|
||||||
$values['type'] = visual_map_get_simple_value_type($process_simple_value);
|
$values['type'] = visual_map_get_simple_value_type(
|
||||||
|
$process_simple_value);
|
||||||
$values['period'] = $period;
|
$values['period'] = $period;
|
||||||
}
|
}
|
||||||
case 'percentile_bar':
|
case 'percentile_bar':
|
||||||
|
@ -454,7 +456,8 @@ switch ($action) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$result = db_process_sql_update('tlayout_data', $values, array('id' => $id_element));
|
$result = db_process_sql_update('tlayout_data', $values,
|
||||||
|
array('id' => $id_element));
|
||||||
echo (int)$result;
|
echo (int)$result;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue