FIX wrong table name
This commit is contained in:
parent
599d891284
commit
0438db7747
1 changed files with 1 additions and 1 deletions
|
|
@ -439,7 +439,7 @@ class AccountancyCategory // extends CommonObject
|
|||
{
|
||||
global $conf;
|
||||
$sql = "SELECT t.rowid, t.account_number, t.label";
|
||||
$sql .= " FROM ".$this->db->prefix().$this->table_element." as t";
|
||||
$sql .= " FROM ".$this->db->prefix()."accounting_account as t";
|
||||
$sql .= " WHERE t.fk_accounting_category = ".((int) $id);
|
||||
$sql .= " AND t.entity = ".$conf->entity;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue