X-Git-Url: https://delta.frontaccounting.com/gitweb/?p=fa-stable.git;a=blobdiff_plain;f=includes%2Fui%2Fui_lists.inc;h=45253e32fd01c20585149b7fb935d012d4d7d051;hp=a15d45733e4519a85b6cd179c37e280a2c043923;hb=c9cb6e8b05e007305888f244807abda14632205e;hpb=b14f304532b7d124e79ee2a03d60a0850c8a417d diff --git a/includes/ui/ui_lists.inc b/includes/ui/ui_lists.inc index a15d4573..45253e32 100644 --- a/includes/ui/ui_lists.inc +++ b/includes/ui/ui_lists.inc @@ -1345,7 +1345,7 @@ function sales_areas_list_row($label, $name, $selected_id=null, $special_option= function sales_groups_list($name, $selected_id=null, $special_option=false) { - $sql = "SELECT id, description, inactive FROM ".TB_PREF."groups"; + $sql = "SELECT id, description, inactive FROM `".TB_PREF."groups`"; return combo_input($name, $selected_id, $sql, 'id', 'description', array( 'spec_option' => $special_option===true ? ' ' : $special_option, 'order' => 'description', 'spec_id' => 0,