From 0b9f8c53468bbc5f496513c14f5f0fc127201aea Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 27 Aug 2009 07:42:02 +0000 Subject: [PATCH] Fixed update mechanism with no PID git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14149 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_listing.inc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index 96e63ac83..9bd97f74e 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -49,6 +49,7 @@ class listing { var $snapshotHandler= null; var $exporter= array(); var $exportColumns= array(); + var $firstCall= true; function listing($filename) @@ -424,6 +425,12 @@ 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) { -- 2.30.2