From 6e0584e9308e0dc0049d2d59d2b0c86f619720b0 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 16 Oct 2005 15:48:33 +0100 Subject: fix some brackets issues in feed editor --- db.php | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'db.php') 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") { -- cgit v1.2.3