From 56476a7774578e11ca5e420f664ade37bd24710a Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 30 Mar 2017 13:05:10 -0400 Subject: [PATCH] uppercase SQL --- web/skins/classic/views/montage.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/skins/classic/views/montage.php b/web/skins/classic/views/montage.php index 24e363edb..3f99b6b92 100644 --- a/web/skins/classic/views/montage.php +++ b/web/skins/classic/views/montage.php @@ -27,10 +27,10 @@ require_once( 'includes/Monitor.php' ); $groupSql = ''; if ( !empty($_REQUEST['group']) ) { - $row = dbFetchOne( 'select * from Groups where Id = ?', NULL, array($_REQUEST['group']) ); - $sql = "select * from Monitors where Function != 'None' and find_in_set( Id, '".$row['MonitorIds']."' ) order by Sequence"; + $row = dbFetchOne( 'SELECT * FROM Groups WHERE Id = ?', NULL, array($_REQUEST['group']) ); + $sql = "SELECT * FROM Monitors WHERE Function != 'None' AND find_in_set( Id, '".$row['MonitorIds']."' ) ORDER BY Sequence"; } else { - $sql = "select * from Monitors where Function != 'None' order by Sequence"; + $sql = "SELECT * FROM Monitors WHERE Function != 'None' ORDER BY Sequence"; } $showControl = false;