From: cajus Date: Thu, 27 Aug 2009 07:10:26 +0000 (+0000) Subject: Ignore non set PIDs, too X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=29a66d012a940d819d7c4037e6e901a203199a6d;p=gosa.git Ignore non set PIDs, too git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14148 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index 156cc7b80..96e63ac83 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -424,8 +424,9 @@ class listing { // Reset object counter $this->objectTypeCount= array(); - // Do not do anything if this is not our PID - if(isset($_REQUEST['PID']) && $_REQUEST['PID'] != $this->pid) { + // Do not do anything if this is not our PID or there's even + // no PID available + if(!isset($_REQUEST['PID']) || $_REQUEST['PID'] != $this->pid) { return; } @@ -901,8 +902,8 @@ class listing { function getAction() { - // Do not do anything if this is not our PID - if(isset($_REQUEST['PID']) && $_REQUEST['PID'] != $this->pid) { + // Do not do anything if this is not our PID, or there's even no PID available... + if(!isset($_REQUEST['PID']) || $_REQUEST['PID'] != $this->pid) { return; }