Enhance website module
This commit is contained in:
parent
79f34074f7
commit
b99b49c542
@ -983,3 +983,5 @@ PaymentInformation=Payment information
|
||||
ValidFrom=Valid from
|
||||
ValidUntil=Valid until
|
||||
NoRecordedUsers=No users
|
||||
NoArticlesFoundForTheKeyword=No article found for the keyword '<strong>%s</strong>'
|
||||
NoArticlesFoundForTheCategory=No article found for the category
|
||||
@ -340,7 +340,8 @@ class WebsitePage extends CommonObject
|
||||
|
||||
return $records;
|
||||
} else {
|
||||
$this->errors[] = 'Error ' . $this->db->lasterror();
|
||||
$this->error = 'Error ' . $this->db->lasterror();
|
||||
$this->errors[] = $this->error;
|
||||
dol_syslog(__METHOD__ . ' ' . join(',', $this->errors), LOG_ERR);
|
||||
|
||||
return -1;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user