mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Reverting previous commit - pg_escape_string($connection, $data) is PHP5-only.
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@7803 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
40bf675589
commit
25ec40600c
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ class DboPostgres extends DboSource {
|
|||
return (!empty($data) ? 'TRUE' : 'FALSE');
|
||||
break;
|
||||
default:
|
||||
$data = pg_escape_string($this->connection, $data);
|
||||
$data = pg_escape_string($data);
|
||||
break;
|
||||
}
|
||||
return "'" . $data . "'";
|
||||
|
|
Loading…
Add table
Reference in a new issue