inc/record.inc.php
changeset 200 6bdfaba077cb
parent 192 3d18290ac993
--- a/inc/record.inc.php	Fri Nov 14 14:43:52 2008 +0100
+++ b/inc/record.inc.php	Fri Nov 14 14:51:47 2008 +0100
@@ -125,7 +125,7 @@
 				$query = "UPDATE records 
 					SET name=".$db->quote($record['name'], 'text').", 
 					type=".$db->quote($record['type'], 'text').", 
-					content=" . $db->quote($record['content'], 'text') . ", 
+					content=" . $db->quote(addslashes($record['content']), 'text') . ",
 					ttl=".$db->quote($record['ttl'], 'integer').", 
 					prio=".$db->quote($record['prio'], 'integer').", 
 					change_date=".$db->quote(time(), 'integer')."