Use Dossier::connect (singleton) instead of new Databass(dossier_id)
This commit is contained in:
parent
19e6e8ca6d
commit
8fc56e3ef4
87 changed files with 105 additions and 149 deletions
|
|
@ -1959,7 +1959,7 @@ class Fiche
|
|||
}
|
||||
static function test_me()
|
||||
{
|
||||
$cn=new Database(dossier::id());
|
||||
$cn=Dossier::connect();
|
||||
$a=new Fiche($cn);
|
||||
$select_cat=new ISelect('fd_id');
|
||||
$select_cat->value=$cn->make_array('select fd_id,fd_label from fiche_def where frd_id='.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue