mirror of
https://github.com/friendica/friendica
synced 2025-04-26 00:30:12 +00:00
mysql error report fix (no mysqli), suggested friends for new members settings
This commit is contained in:
parent
f4e1135f79
commit
034038849c
5 changed files with 88 additions and 12 deletions
|
@ -76,9 +76,11 @@ class dba {
|
|||
|
||||
$mesg = '';
|
||||
|
||||
if($this->mysqli && $this->db->errno)
|
||||
logger('dba: ' . $this->db->error);
|
||||
else
|
||||
if($this->mysqli) {
|
||||
if($this->db->errno)
|
||||
logger('dba: ' . $this->db->error);
|
||||
}
|
||||
elseif(mysql_errno($this->db))
|
||||
logger('dba: ' . mysql_error($this->db));
|
||||
|
||||
if($result === false)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue