mirror of
https://github.com/e107inc/e107.git
synced 2025-08-05 06:07:32 +02:00
Bugtracker #4728 - filter edit mode from query better
This commit is contained in:
@@ -12,9 +12,9 @@
|
|||||||
| GNU General Public License (http://gnu.org).
|
| GNU General Public License (http://gnu.org).
|
||||||
|
|
|
|
||||||
| $Source: /cvs_backup/e107_0.8/e107_handlers/comment_class.php,v $
|
| $Source: /cvs_backup/e107_0.8/e107_handlers/comment_class.php,v $
|
||||||
| $Revision: 1.18 $
|
| $Revision: 1.19 $
|
||||||
| $Date: 2009-01-27 07:37:22 $
|
| $Date: 2009-05-07 20:48:39 $
|
||||||
| $Author: lisa_ $
|
| $Author: e107steved $
|
||||||
+----------------------------------------------------------------------------+
|
+----------------------------------------------------------------------------+
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -80,9 +80,9 @@ class comment {
|
|||||||
$eaction = 'edit';
|
$eaction = 'edit';
|
||||||
$id = $_GET['comment_id'];
|
$id = $_GET['comment_id'];
|
||||||
}
|
}
|
||||||
elseif (strstr(e_QUERY, "edit"))
|
elseif (strpos(e_QUERY, 'edit.') !== FALSE)
|
||||||
{
|
{
|
||||||
$eaction = "edit";
|
$eaction = 'edit';
|
||||||
$tmp = explode(".", e_QUERY);
|
$tmp = explode(".", e_QUERY);
|
||||||
$count = 0;
|
$count = 0;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user