Changeset 812 for trunk/polyfill


Ignore:
Timestamp:
Mar 21, 2024 4:49:53 AM (6 weeks ago)
Author:
anonymous
Message:

Fix depreciation notices

File:
1 edited

Legend:

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

    r806 r812  
    833833        public function mysql_real_escape_string($string, $link = false)
    834834        {
    835             if ('' == $string) {
     835            if ('' == (string)$string) {
    836836                return '';
    837837            }
     
    12161216                    throw new MySQL2PDOException($this->_params[$link]['errno'] .': ' . $this->_params[$link]['error']);
    12171217                } else {
    1218                     throw new MySQL2PDOException('No db at  instance #' . ($link - 1));
     1218                    throw new MySQL2PDOException('No db at instance #' . ($link - 1));
    12191219                }
    12201220            }
Note: See TracChangeset for help on using the changeset viewer.