Changeset 812 for trunk/polyfill
- Timestamp:
- Mar 21, 2024 4:49:53 AM (6 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/polyfill/mysql.inc.php
r806 r812 833 833 public function mysql_real_escape_string($string, $link = false) 834 834 { 835 if ('' == $string) {835 if ('' == (string)$string) { 836 836 return ''; 837 837 } … … 1216 1216 throw new MySQL2PDOException($this->_params[$link]['errno'] .': ' . $this->_params[$link]['error']); 1217 1217 } else { 1218 throw new MySQL2PDOException('No db at 1218 throw new MySQL2PDOException('No db at instance #' . ($link - 1)); 1219 1219 } 1220 1220 }
Note: See TracChangeset
for help on using the changeset viewer.