Code

Dont throw away the hidden inputs..
[gosa.git] / gosa-core / include / class_sortableListing.inc
index d3b95ca84ce30de211ecb55dc3c2a89837a269e2..55c3bbfe9bc5617b76eabbc41a0c9de330ad8334 100644 (file)
@@ -221,7 +221,7 @@ class sortableListing {
     // Do we need a header?
     if ($this->header) {
       $result.= " <thead>\n  <tr>\n";
-      $first= " style='border:0'";
+      $first= " style='border-left:0'";
       for ($i= 0; $i<$this->columns; $i++) {
         $link= "href='?plug=".$_GET['plug']."&amp;PID=".$this->id."&amp;act=SORT_$i'";
         $sorter= "";
@@ -372,7 +372,7 @@ class sortableListing {
     $this->action = "";
     if (strpos($this->acl, 'd') !== false){
       foreach ($_POST as $key => $value) {
-        if (preg_match('/^del_'.$this->id.'([0-9]+)$/', $key, $matches)) {
+        if (preg_match('/^del_'.$this->id.'_([0-9]+)$/', $key, $matches)) {
           $this->active_index= $this->mapping[$matches[1]];
 
           // Ignore request if mode requests it