1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 03:54:09 +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

@@ -987,7 +987,7 @@ class system_tools
if($sql->gen($query))
{
while ($row = $sql->fetch(MYSQL_NUM))
while ($row = $sql->fetch('num'))
{
$qry[] = $row[0];
}
@@ -1006,7 +1006,7 @@ class system_tools
$mes->addError("Query Failed: ".$query);
return;
}
while ($row = mysql_fetch_array($result, MYSQL_NUM))
while ($row = mysql_fetch_array($result, 'num'))
{
$qry[] = $row[0];
}