Ajout traces
This commit is contained in:
parent
c77515a8a4
commit
c9e104f905
@ -96,7 +96,7 @@ class InfoBox
|
||||
}
|
||||
else {
|
||||
$this->error=$this->db->error();
|
||||
dolibarr_syslog("InfoBox::listBoxes Error ".$this->error);
|
||||
dolibarr_syslog("InfoBox::listBoxes Error ".$this->error, LOG_ERR);
|
||||
return array();
|
||||
}
|
||||
}
|
||||
@ -134,7 +134,7 @@ class InfoBox
|
||||
}
|
||||
else {
|
||||
$this->error=$this->db->error();
|
||||
dolibarr_syslog("InfoBox::listBoxes Error ".$this->error);
|
||||
dolibarr_syslog("InfoBox::listBoxes Error ".$this->error, LOG_ERR);
|
||||
return array();
|
||||
}
|
||||
}
|
||||
|
||||
@ -131,6 +131,7 @@ class box_prospect extends ModeleBoxes {
|
||||
}
|
||||
}
|
||||
else {
|
||||
dolibarr_syslog("box_prospect::loadBox not allowed de read this box content",LOG_ERR);
|
||||
$this->info_box_contents[0][0] = array('align' => 'left',
|
||||
'text' => $langs->trans("ReadPermissionNotAllowed"));
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user