summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Drumm <drumm@3064.no-reply.drupal.org>2006-09-09 00:23:11 +0000
committerNeil Drumm <drumm@3064.no-reply.drupal.org>2006-09-09 00:23:11 +0000
commitd48100eb888afd2589eb2f91349d478fcc626020 (patch)
tree71c137709ae41a56743d1566f1764289d4f81b63
parent6d3ab3e030b9a6f26b37a8753c38b951592eace8 (diff)
downloadbrdo-d48100eb888afd2589eb2f91349d478fcc626020.tar.gz
brdo-d48100eb888afd2589eb2f91349d478fcc626020.tar.bz2
#73584 by keve an flk. Properly check if a variable is set.
-rw-r--r--modules/comment/comment.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index db3d04105..1676d0e08 100644
--- a/modules/comment/comment.module
+++ b/modules/comment/comment.module
@@ -1749,7 +1749,7 @@ function _comment_per_page() {
function _comment_get_display_setting($setting) {
global $user;
- if ($_GET[$setting]) {
+ if (isset($_GET[$setting])) {
$value = $_GET[$setting];
}
else {