summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG5
-rw-r--r--includes/common.inc4
2 files changed, 5 insertions, 4 deletions
diff --git a/CHANGELOG b/CHANGELOG
index c556edd4e..c416ffc41 100644
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -10,8 +10,9 @@ drupal x.xx, xx/xx/xxxx (CVS, unstable)
- rewrote section code and renamed it to structure.module:
* supports both "categories" and "topics" (cfr. Scoop, SlashCode). Topics can be nested to create a multi-level hierarchy.
* added "auto-post new submissions" feature versus "moderate new submissions".
-- added settings.module:
+- added conf.module:
* moved most of the configuration options from hostname.conf to the new administration section.
+ * added support for custom "filters"
- added moderate.module:
* allows to assign users editorial/moderator rights to certain nodes or topics.
- added page.module:
@@ -24,7 +25,7 @@ drupal x.xx, xx/xx/xxxx (CVS, unstable)
* allows to display and mail CVS log messages as daily digests.
- added book.module:
* allows collaborative handbook writing: primary used for drupal documentation.
-- removed cron.module and integrated it into settings.module.
+- removed cron.module and integrated it into conf.module.
- various updates:
* introduced links/drupal tags: [[link]]
* added preview functionality when submitting new content (such as a story) from the administration pages.
diff --git a/includes/common.inc b/includes/common.inc
index 7e4442712..d7ae5ae63 100644
--- a/includes/common.inc
+++ b/includes/common.inc
@@ -73,7 +73,7 @@ function check_name($name) {
}
function check_preview($text) {
- return check_output(check_input($text), 1);
+ return check_output(check_input($text));
}
function check_query($text) {
@@ -87,7 +87,7 @@ function check_input($text) {
function check_output($text, $nl2br = 0) {
global $na;
- return ($text) ? (($nl2br) ? nl2br(stripslashes($text)) : stripslashes($text)) : $na;
+ return ($text) ? ($nl2br ? nl2br(stripslashes($text)) : stripslashes($text)) : $na;
}
function format_plural($count, $singular, $plural) {