Commit 0ba7a4e
committed
Fix PHP 8.4 pg_escape_string() deprecation in ez_pgsql
PHP 8.4 deprecated calling pg_escape_string() without explicitly
passing the connection resource as the first argument.
This updates ez_pgsql::escape() to pass $this->dbh, consistent
with how ez_mysqli::escape() already passes its connection handle
to mysqli_real_escape_string().
See #2261 parent e98292e commit 0ba7a4e
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
0 commit comments