From 99e7229437eb5f91be40f3b6f86e917b91c9e847 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Fri, 26 Sep 2014 16:22:43 +0200 Subject: [PATCH] Cleaned source code style --- .../include/ajax/visual_console_builder.ajax.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/ajax/visual_console_builder.ajax.php b/pandora_console/include/ajax/visual_console_builder.ajax.php index 70572f4b28..a44c9ac44b 100644 --- a/pandora_console/include/ajax/visual_console_builder.ajax.php +++ b/pandora_console/include/ajax/visual_console_builder.ajax.php @@ -320,12 +320,14 @@ switch ($action) { $values['width'] = $width; if ($height !== null) $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; break; case 'simple_value': 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; } 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; break; }