From 532233a9792c2495ba31d1f0b211d61ddec9ea6e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 20 May 2001 19:30:39 +0000 Subject: - Removed includes/timer.inc: it has been integrated in common.inc. - Fixed a bug in node.php: UnConeD forgot to update 1 node_get_object(). - I changed the look of theme_morelink() a bit: it might not look better, but at least the output is "correct". - Various small improvements. --- includes/variable.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'includes/variable.inc') diff --git a/includes/variable.inc b/includes/variable.inc index 618c7f4ce..86f1694b2 100644 --- a/includes/variable.inc +++ b/includes/variable.inc @@ -39,8 +39,8 @@ function variable_get($name, $default, $object = 0) { function variable_set($name, $value) { global $conf; - db_query("DELETE FROM variable WHERE name = '". check_input($name) ."'"); - db_query("INSERT INTO variable (name, value) VALUES ('". check_input($name) ."', '". check_input($value) ."')"); + db_query("DELETE FROM variable WHERE name = '". check_query($name) ."'"); + db_query("INSERT INTO variable (name, value) VALUES ('". check_query($name) ."', '". check_query($value) ."')"); $conf[$name] = $value; } @@ -48,7 +48,7 @@ function variable_set($name, $value) { function variable_del($name) { global $conf; - db_query("DELETE FROM variable WHERE name = '". check_input($name) ."'"); + db_query("DELETE FROM variable WHERE name = '". check_query($name) ."'"); $conf[$name] = ""; } -- cgit v1.2.3