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/common.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'includes/common.inc') diff --git a/includes/common.inc b/includes/common.inc index 2ceb45505..7e4442712 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -76,6 +76,10 @@ function check_preview($text) { return check_output(check_input($text), 1); } +function check_query($text) { + return addslashes(stripslashes($text)); +} + function check_input($text) { foreach (module_list() as $module) $text = module_invoke($module, "filter", $text); return addslashes(stripslashes(substr($text, 0, variable_get("max_input_size", 10000)))); -- cgit v1.2.3