X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=gosa-core%2Finclude%2Fclass_listing.inc;h=26eca3d1fda152d8325d70262ed1830557456eef;hb=f26f21eeaa557b93458cb63c77bf61d3837b8ac9;hp=9bd97f74ee353dbc5170745ac7bbfbc6dacc659e;hpb=0b9f8c53468bbc5f496513c14f5f0fc127201aea;p=gosa.git diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index 9bd97f74e..26eca3d1f 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -49,7 +49,6 @@ class listing { var $snapshotHandler= null; var $exporter= array(); var $exportColumns= array(); - var $firstCall= true; function listing($filename) @@ -425,15 +424,8 @@ class listing { // Reset object counter $this->objectTypeCount= array(); - // If we call for the first time, simulate the PID - if($this->firstCall) { - $_REQUEST['PID']= $this->pid; - $this->firstCall= false; - } - - // 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) { + // Do not do anything if this is not our PID + if(isset($_REQUEST['PID']) && $_REQUEST['PID'] != $this->pid) { return; }