mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-03 15:42:29 +01:00
Optimisation mmoire et ajout info
This commit is contained in:
@@ -26,8 +26,6 @@
|
||||
\version $Revision$
|
||||
*/
|
||||
|
||||
require_once(DOL_DOCUMENT_ROOT."/contact.class.php");
|
||||
|
||||
|
||||
/**
|
||||
\class CommonObject
|
||||
@@ -327,6 +325,7 @@ class CommonObject
|
||||
*/
|
||||
function fetch_contact($contactid)
|
||||
{
|
||||
require_once(DOL_DOCUMENT_ROOT."/contact.class.php");
|
||||
$contact = new Contact($this->db);
|
||||
$result=$contact->fetch($contactid);
|
||||
$this->contact = $contact;
|
||||
|
||||
Reference in New Issue
Block a user