diff --git a/components/library.php b/components/library.php index 427e2f11410c8b45fb5c5531f3a7e6a9dab518cc..b27d60adaef2606e5f9fb11497b0058bdc25f45d 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'])); } }