From a13eb32115d39efeba46034b5266c9bd8f544e04 Mon Sep 17 00:00:00 2001 From: e107steved Date: Thu, 7 May 2009 20:48:46 +0000 Subject: [PATCH] Bugtracker #4728 - filter edit mode from query better --- e107_handlers/comment_class.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/e107_handlers/comment_class.php b/e107_handlers/comment_class.php index 85d6f501f..4f6ec93b4 100644 --- a/e107_handlers/comment_class.php +++ b/e107_handlers/comment_class.php @@ -12,9 +12,9 @@ | GNU General Public License (http://gnu.org). | | $Source: /cvs_backup/e107_0.8/e107_handlers/comment_class.php,v $ -| $Revision: 1.18 $ -| $Date: 2009-01-27 07:37:22 $ -| $Author: lisa_ $ +| $Revision: 1.19 $ +| $Date: 2009-05-07 20:48:39 $ +| $Author: e107steved $ +----------------------------------------------------------------------------+ */ @@ -80,9 +80,9 @@ class comment { $eaction = 'edit'; $id = $_GET['comment_id']; } - elseif (strstr(e_QUERY, "edit")) + elseif (strpos(e_QUERY, 'edit.') !== FALSE) { - $eaction = "edit"; + $eaction = 'edit'; $tmp = explode(".", e_QUERY); $count = 0;