From bc2369382ccc3619c07c73f6f1b806946ab42bfa Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Fri, 30 Dec 2005 17:16:47 +0100 Subject: [PATCH] fix backend sanity failure (take 2) --- backend.php | 4 +++- tt-rss.js | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/backend.php b/backend.php index e4dd4fea..3578871e 100644 --- a/backend.php +++ b/backend.php @@ -748,7 +748,9 @@ } if ($subop == "sanityCheck") { - sanity_check($link); + if (sanity_check($link)) { + print ""; + } } if ($subop == "globalPurge") { diff --git a/tt-rss.js b/tt-rss.js index 85c4564d..28341262 100644 --- a/tt-rss.js +++ b/tt-rss.js @@ -111,6 +111,8 @@ function backend_sanity_check_callback() { if (xmlhttp.readyState == 4) { try { + + alert(xmlhttp.responseText); if (!xmlhttp.responseXML) { fatalError(3); -- 2.39.5