Skip to content

Commit

Permalink
Update a2billing_alarm.php
Browse files Browse the repository at this point in the history
maxvalue is a reserved word in mysql. 
Changing to `maxvalue` as in admin/Public/form_data/FG_var_alarm.inc.
  • Loading branch information
tombii committed Dec 21, 2016
1 parent 0e5c142 commit 65f0715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Cronjobs/a2billing_alarm.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
$instance_table = new Table();

// CHECK THE ALARMS
$QUERY = "SELECT id, name, periode, type, maxvalue, minvalue, id_trunk, status, numberofrun, datecreate, datelastrun, emailreport " .
$QUERY = "SELECT id, name, periode, type, `maxvalue`, minvalue, id_trunk, status, numberofrun, datecreate, datelastrun, emailreport " .
"FROM cc_alarm WHERE status=1";

$result = $instance_table->SQLExec($A2B->DBHandle, $QUERY);
Expand Down

0 comments on commit 65f0715

Please sign in to comment.