FIX for free line select unit was wrong
This commit is contained in:
parent
848bc0779a
commit
815d0aff90
@ -3274,7 +3274,7 @@ class Form
|
|||||||
|
|
||||||
$return= '<select class="flat" id="'.$htmlname.'" name="'.$htmlname.'">';
|
$return= '<select class="flat" id="'.$htmlname.'" name="'.$htmlname.'">';
|
||||||
|
|
||||||
$sql = 'SELECT rowid, label from '.MAIN_DB_PREFIX.'c_units';
|
$sql = 'SELECT rowid, label, code from '.MAIN_DB_PREFIX.'c_units';
|
||||||
$sql.= ' WHERE active > 0';
|
$sql.= ' WHERE active > 0';
|
||||||
|
|
||||||
$resql = $this->db->query($sql);
|
$resql = $this->db->query($sql);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user