summaryrefslogtreecommitdiff
path: root/db.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-10-16 15:48:33 +0100
committerAndrew Dolgov <[email protected]>2005-10-16 15:48:33 +0100
commit6e0584e9308e0dc0049d2d59d2b0c86f619720b0 (patch)
treec9246576eaadd36836e41a7a6bdaad4b14072779 /db.php
parentb5aa95e736af7bfa586abf013c7a3d5b2dac1f7e (diff)
fix some brackets issues in feed editor
Diffstat (limited to 'db.php')
-rw-r--r--db.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/db.php b/db.php
index c72bbd9df..e4673f679 100644
--- a/db.php
+++ b/db.php
@@ -103,6 +103,12 @@ function db_fetch_result($result, $row, $param) {
}
}
+function db_unescape_string($str) {
+ $tmp = str_replace("\\\"", "\"", $str);
+ $tmp = str_replace("\\'", "'", $tmp);
+ return $tmp;
+}
+
function db_close($link) {
if (DB_TYPE == "pgsql") {