projects
/
phppgadmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1951a16
)
fix a bug in adodb, reported by Pascal Courtonne
REL_4-0
author
ioguix
<ioguix>
Fri, 5 Oct 2007 12:34:42 +0000
(12:34 +0000)
committer
ioguix
<ioguix>
Fri, 5 Oct 2007 12:34:42 +0000
(12:34 +0000)
libraries/adodb/drivers/adodb-postgres64.inc.php
patch
|
blob
|
blame
|
history
diff --git
a/libraries/adodb/drivers/adodb-postgres64.inc.php
b/libraries/adodb/drivers/adodb-postgres64.inc.php
index b4a045c64e01576a6aa1962bddee5b3eaa226b2f..8bf91df91bf13b3c0ba4ae9f2f8b61b05136f9bb 100644
(file)
--- a/
libraries/adodb/drivers/adodb-postgres64.inc.php
+++ b/
libraries/adodb/drivers/adodb-postgres64.inc.php
@@
-49,7
+49,7
@@
function adodb_addslashes($s)
{
\r
$len = strlen($s);
\r
if ($len == 0) return "''";
\r
- if (strncmp($s,"'",1) === 0 && substr(s,$len-1) == "'") return $s; // already quoted
\r
+ if (strncmp($s,"'",1) === 0 && substr(
$
s,$len-1) == "'") return $s; // already quoted
\r
\r
return "'".addslashes($s)."'";
\r
}
\r