Fix property not defined
This commit is contained in:
parent
a41f54c82f
commit
2f1b25c67a
@ -98,9 +98,9 @@ class mod_myobject_advanced extends ModeleNumRefMyObject
|
||||
*/
|
||||
public function getExample()
|
||||
{
|
||||
global $conf,$langs,$mysoc;
|
||||
global $conf, $db, $langs, $mysoc;
|
||||
|
||||
$object = new MyObject($this->db);
|
||||
$object = new MyObject($db);
|
||||
$object->initAsSpecimen();
|
||||
|
||||
/*$old_code_client=$mysoc->code_client;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user