From 268397244bd8a9c745cbf27eb942f0f13871eb65 Mon Sep 17 00:00:00 2001 From: Imran Hussain <imranh@sucs.org> Date: Sun, 19 Apr 2015 10:49:25 +0000 Subject: [PATCH] Merge tested changes from beta into live --- components/library.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/library.php b/components/library.php index 427e2f1..b27d60a 100644 --- a/components/library.php +++ b/components/library.php @@ -139,8 +139,9 @@ if (isset($_REQUEST['search']) && (trim($_REQUEST['search']) != "")) { $tidy_config['logical-emphasis'] = true; $book['description'] = tidy_repair_string($book['description'], $tidy_config); + // Commented out by ~imranh // update db so we don't have to do this next time - $DB->Execute("UPDATE books SET description=? WHERE id=?", array($book['description'],$book['id'])); + //$DB->Execute("UPDATE books SET description=? WHERE id=?", array($book['description'],$book['id'])); } } -- GitLab