[SUCS Devel] site r677 - trunk/components
imranh at sucs.org
imranh at sucs.org
Sun Apr 19 11:44:13 BST 2015
Author: imranh
Date: 2015-04-19 11:43:51 +0100 (Sun, 19 Apr 2015)
New Revision: 677
Modified:
trunk/components/library.php
Log:
Fix database query error relating to library
Modified: trunk/components/library.php
===================================================================
--- trunk/components/library.php 2015-04-14 19:41:18 UTC (rev 676)
+++ trunk/components/library.php 2015-04-19 10:43:51 UTC (rev 677)
@@ -139,8 +139,9 @@
$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']));
}
}
More information about the Devel
mailing list