From: cajus Date: Wed, 19 Aug 2009 15:37:39 +0000 (+0000) Subject: Display fixes X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0cc63df977bb83b10d592c5b2f3d20d8d8f35fc6;p=gosa.git Display fixes git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14089 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_listing.inc b/gosa-core/include/class_listing.inc index 7d8138348..cf2366ece 100644 --- a/gosa-core/include/class_listing.inc +++ b/gosa-core/include/class_listing.inc @@ -308,8 +308,8 @@ class listing { } // Need to fill the list if it's not full (nobody knows why this is 22 ;-)) - $emptyListStyle= (count($this->entries) + count($deps) == 0)?"border:0;":""; - if (count($this->entries) + count($deps) < 22) { + $emptyListStyle= (count($this->entries) + $deps == 0)?"border:0;":""; + if ((count($this->entries) + $deps) < 22) { $result.= ""; for ($i= 0; $i<$this->numColumns; $i++) { if ($i == 0) { @@ -373,6 +373,9 @@ class listing { global $config; $ui= get_userinfo(); + // Reset object counter + $this->objectTypeCount= array(); + // Do not do anything if this is not our PID if(isset($_REQUEST['PID']) && $_REQUEST['PID'] != $this->pid) { return;