Skip to content
Snippets Groups Projects
Commit a50aa00e authored by Regis Houssin's avatar Regis Houssin
Browse files

Fix: bad table name

parent 0c610e7a
No related branches found
No related tags found
No related merge requests found
......@@ -74,7 +74,7 @@ $tabname[16]= MAIN_DB_PREFIX."c_prospectlevel";
$tabname[17]= MAIN_DB_PREFIX."c_type_fees";
$tabname[18]= MAIN_DB_PREFIX."c_shipment_mode";
$tabname[19]= MAIN_DB_PREFIX."c_effectif";
$tabname[20]= MAIN_DB_PREFIX."c_demand_method";
$tabname[20]= MAIN_DB_PREFIX."c_input_method";
$tabname[21]= MAIN_DB_PREFIX."c_availability";
$tabname[22]= MAIN_DB_PREFIX."c_source";
//$tabname[23]= MAIN_DB_PREFIX."c_demand_reason";
......
......@@ -87,7 +87,7 @@ class FormOrder
$form=new Form($this->db);
$sql = "SELECT rowid, code, libelle as label";
$sql.= " FROM ".MAIN_DB_PREFIX."c_demand_method";
$sql.= " FROM ".MAIN_DB_PREFIX."c_input_method";
$sql.= " WHERE active = 1";
dol_syslog("Form::select_methodes_commande sql=".$sql);
......
......@@ -1123,7 +1123,7 @@ class CommandeFournisseur extends Commande
function get_methodes_commande()
{
$sql = "SELECT rowid, libelle";
$sql.= " FROM ".MAIN_DB_PREFIX."c_demand_method";
$sql.= " FROM ".MAIN_DB_PREFIX."c_input_method";
$sql.= " WHERE active = 1";
$resql=$this->db->query($sql);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment