From d48100eb888afd2589eb2f91349d478fcc626020 Mon Sep 17 00:00:00 2001
From: Neil Drumm <drumm@3064.no-reply.drupal.org>
Date: Sat, 9 Sep 2006 00:23:11 +0000
Subject: [PATCH] #73584 by keve an flk. Properly check if a variable is set.

---
 modules/comment/comment.module | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/comment/comment.module b/modules/comment/comment.module
index db3d04105a15..1676d0e086d9 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 {
-- 
GitLab