Fix travis
This commit is contained in:
parent
85bea5a7c4
commit
52f20a1047
@ -755,7 +755,8 @@ class Categorie extends CommonObject
|
||||
{
|
||||
$objs = array();
|
||||
|
||||
$obj = new $this->MAP_OBJ_CLASS[$type]( $this->db );
|
||||
$classnameforobj = $this->MAP_OBJ_CLASS[$type];
|
||||
$obj = new $classnameforobj($this->db);
|
||||
|
||||
$sql = "SELECT c.fk_" . $this->MAP_CAT_FK[$type];
|
||||
$sql .= " FROM " . MAIN_DB_PREFIX . "categorie_" . $this->MAP_CAT_TABLE[$type] . " as c";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user