summaryrefslogtreecommitdiff
path: root/modules/comment/comment.admin.inc
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-07-24 17:28:27 +0000
committerDries Buytaert <dries@buytaert.net>2010-07-24 17:28:27 +0000
commitdca92900fbf0b938ae735883ff9bebfc8342e58c (patch)
tree5bc5e54dfea9e49c2ee680d39209222b3f037175 /modules/comment/comment.admin.inc
parentde9d0049a4c1bb02ab76dad82f321b278056e27f (diff)
downloadbrdo-dca92900fbf0b938ae735883ff9bebfc8342e58c.tar.gz
brdo-dca92900fbf0b938ae735883ff9bebfc8342e58c.tar.bz2
- Patch #850152 by kiamlaluno: use 'elseif' in place of 'else if'.
Diffstat (limited to 'modules/comment/comment.admin.inc')
-rw-r--r--modules/comment/comment.admin.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.admin.inc b/modules/comment/comment.admin.inc
index eb4a769b8..4682cfa64 100644
--- a/modules/comment/comment.admin.inc
+++ b/modules/comment/comment.admin.inc
@@ -168,7 +168,7 @@ function comment_admin_overview_submit($form, &$form_state) {
if ($operation == 'unpublish') {
$comment->status = COMMENT_NOT_PUBLISHED;
}
- else if ($operation == 'publish') {
+ elseif ($operation == 'publish') {
$comment->status = COMMENT_PUBLISHED;
}
comment_save($comment);