1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-16 08:45:57 +00:00

xml-import: fix escaping issues

This commit is contained in:
Andrew Dolgov
2005-11-30 09:28:53 +01:00
parent df08c5bb99
commit a654a595b8
2 changed files with 22 additions and 13 deletions

View File

@@ -795,4 +795,12 @@
return date("Y/m/d");
}
}
function sql_bool_to_string($s) {
if ($s == "t" || $s == "1") {
return "true";
} else {
return "false";
}
}
?>