1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 01:54:12 +02:00

Issue #1356 - PHP7 Fixes.

This commit is contained in:
Cameron
2016-02-14 12:15:55 -08:00
parent 32636ec39d
commit 486f3d4961
54 changed files with 205 additions and 285 deletions

View File

@@ -623,7 +623,7 @@ class e107MailManager
{
return false;
}
if ($result = $this->db->fetch(MYSQL_ASSOC))
if ($result = $this->db->fetch())
{
$this->queryActive--;
return $this->dbToBoth($result);
@@ -1444,7 +1444,7 @@ class e107MailManager
$errors[] = 'Not found in DB: '.$vals[1].'/'.$vals[2];
}
$row = $this->db->fetch(MYSQL_ASSOC);
$row = $this->db->fetch();
$row = $this->dbToBoth($row);
@@ -1715,7 +1715,7 @@ class e107MailManager
*/
public function getNextTargetStatus()
{
$result = $this->db2->db_Fetch(MYSQL_ASSOC);
$result = $this->db2->db_Fetch();
if (is_array($result)) { return $this->dbToTarget($result); }
return FALSE;
}