diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-05-20 19:30:39 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-05-20 19:30:39 +0000 |
commit | 532233a9792c2495ba31d1f0b211d61ddec9ea6e (patch) | |
tree | e8ccc139fb19fa72f5212a3507120b1c5ef00e81 /includes/common.inc | |
parent | 4f1cf00f9ea7b578b9966883b0182179006ddcb8 (diff) | |
download | brdo-532233a9792c2495ba31d1f0b211d61ddec9ea6e.tar.gz brdo-532233a9792c2495ba31d1f0b211d61ddec9ea6e.tar.bz2 |
- 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.
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 4 |
1 files changed, 4 insertions, 0 deletions
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)))); |