From f8cf3171e730230ecf6644f1241c1705bf5ab768 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 6 Apr 2010 12:50:09 +0000 Subject: [PATCH] Allow sorting git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17483 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_sortableListing.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gosa-core/include/class_sortableListing.inc b/gosa-core/include/class_sortableListing.inc index 88a93bab8..63f04ffc6 100644 --- a/gosa-core/include/class_sortableListing.inc +++ b/gosa-core/include/class_sortableListing.inc @@ -318,8 +318,8 @@ class sortableListing { public function update() { // Do not do anything if this is not our PID, or there's even no PID available... - if(!isset($_REQUEST['PID']) || $_REQUEST['PID'] != $this->id) { -# return; + if(isset($_REQUEST['PID']) && $_REQUEST['PID'] != $this->id) { + return; } // Filter GET with "act" attributes @@ -344,8 +344,8 @@ class sortableListing { public function save_object() { // Do not do anything if this is not our PID, or there's even no PID available... - if(!isset($_REQUEST['PID']) || $_REQUEST['PID'] != $this->id) { -# return; + if(isset($_REQUEST['PID']) && $_REQUEST['PID'] != $this->id) { + return; } // Do not do anything if we're not posted - or have no permission -- 2.30.2