FIX missing element name
This commit is contained in:
parent
1d8f170d32
commit
27e893be1d
@ -79,6 +79,9 @@ class box_contacts extends ModeleBoxes
|
||||
|
||||
$this->max = $max;
|
||||
|
||||
$contactstatic = new Contact($this->db);
|
||||
$societestatic = new Societe($this->db);
|
||||
|
||||
$this->info_box_head = array('text' => $langs->trans("BoxTitleLastModifiedContacts", $max));
|
||||
|
||||
if ($user->rights->societe->lire && $user->rights->societe->contact->lire) {
|
||||
@ -126,9 +129,6 @@ class box_contacts extends ModeleBoxes
|
||||
if ($result) {
|
||||
$num = $this->db->num_rows($result);
|
||||
|
||||
$contactstatic = new Contact($this->db);
|
||||
$societestatic = new Societe($this->db);
|
||||
|
||||
$line = 0;
|
||||
while ($line < $num) {
|
||||
$objp = $this->db->fetch_object($result);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user