From f26f21eeaa557b93458cb63c77bf61d3837b8ac9 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 27 Aug 2009 12:15:25 +0000 Subject: [PATCH] Removed firstCall check from update function. This is problematic with several sub dialogs. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14151 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_listing.inc | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) 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; } -- 2.30.2