summaryrefslogtreecommitdiff
path: root/modules/comment.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-11-29 17:52:35 +0000
committerDries Buytaert <dries@buytaert.net>2004-11-29 17:52:35 +0000
commit95610bdd6cd8b607209ed3a6efa58c60ae4b19fb (patch)
tree10dd222d5d65c01bef8c15912e31f67be213635a /modules/comment.module
parent29337ad8bbcf9388cf41e88193764cc2cb8b87f2 (diff)
downloadbrdo-95610bdd6cd8b607209ed3a6efa58c60ae4b19fb.tar.gz
brdo-95610bdd6cd8b607209ed3a6efa58c60ae4b19fb.tar.bz2
- Patch #13647 by Goba:
1. Fixed broken watchdog calls: two watchdog calls omitted the type parameter, and thus injected logs into the type field, instead of the message field. 2. Removed t() functions from user contributed content.
Diffstat (limited to 'modules/comment.module')
-rw-r--r--modules/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment.module b/modules/comment.module
index 964a9cdd4..889e0c4de 100644
--- a/modules/comment.module
+++ b/modules/comment.module
@@ -1468,7 +1468,7 @@ function theme_comment_threshold($threshold) {
$result = db_query('SELECT fid, filter FROM {moderation_filters} ');
$options .= ' <option value="0">'. t('-- threshold --') .'</option>';
while ($filter = db_fetch_object($result)) {
- $filters .= " <option value=\"$filter->fid\"". ($threshold == $filter->fid ? ' selected="selected"' : '') .'>'. t($filter->filter) .'</option>';
+ $filters .= " <option value=\"$filter->fid\"". ($threshold == $filter->fid ? ' selected="selected"' : '') .'>'. $filter->filter .'</option>';
}
if ($filters) {