Ignore:
Timestamp:
Nov 16, 2021 8:30:58 AM (2 years ago)
Author:
anonymous
Message:

Backport utility functions from v2.x

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/polyfill/mysql.inc.php

    r719 r756  
    265265            static $last = null;
    266266
    267             if ($result === false) {
     267            if ($result === false || $result === null) {
    268268                trigger_error('mysql_fetch_*(): supplied argument is not a valid MySQL result resource', E_USER_WARNING);
    269269                return false;
Note: See TracChangeset for help on using the changeset viewer.