Let's have this a bit more optimized. :)

Reference commit: 912e927b97
This commit is contained in:
patrick committed 2017-07-30 18:44:45 +02:00
1 parent 53a862c345
commit a669e4138c
1 file changed
+6 -6
+6 -6
View File
@@ -263,12 +263,12 @@ function form_save() {
}
if (!is_error_message()) {
$lg_template_id = db_fetch_cell_prepared(
'SELECT graph_template_id
FROM graph_local
WHERE id = ?',
array($local_graph_id)
);
$lg_template_id = db_fetch_cell_prepared(
'SELECT graph_template_id
FROM graph_local
WHERE id = ?',
array($local_graph_id)
);
if ($lg_template_id > 0) {
change_graph_template($local_graph_id, $gt_id_unparsed);