From: hickert Date: Wed, 13 Jan 2010 14:32:34 +0000 (+0000) Subject: Fixed typo X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=d229778d86723b6093c8edd70a2bf96a7be871cc;p=gosa.git Fixed typo git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15163 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/include/class_sortableListing.inc b/gosa-core/include/class_sortableListing.inc index d023584cf..b87136c61 100644 --- a/gosa-core/include/class_sortableListing.inc +++ b/gosa-core/include/class_sortableListing.inc @@ -31,7 +31,7 @@ class sortableListing { private $data= array(); private $columns= 0; - private $deletable= false; + private $deleteable= false; private $editable= false; private $instantDelete= true; private $action; @@ -49,7 +49,7 @@ class sortableListing { // Generate instance wide unique ID $tmp= gettimeofday(); - $this->id= 'l'.md5($t['sec']); + $this->id= 'l'.md5($tmp['sec']); } @@ -133,6 +133,7 @@ class sortableListing { $delete_image= $this->deleteable?"":""; // Do we need colspecs? + $action_width= ($this->editable?20:0) + ($this->deleteable?20:0); if ($this->colspecs) { $result.= " \n"; for ($i= 0; $i<$this->columns; $i++) { @@ -140,7 +141,6 @@ class sortableListing { } // Extend by another column if we've actions specified - $action_width= ($this->editable?20:0) + ($this->deleteable?20:0); if ($action_width) { $result.= " \n"; }