Code

Fixed problems with opening of partition tables using the icon-chooser
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 8 Sep 2010 09:49:33 +0000 (09:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Wed, 8 Sep 2010 09:49:33 +0000 (09:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6@19563 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/fai/class_faiPartitionTable.inc

index 197e1b2b28cd9591c7eb33e93bed4a994390f205..3b902c00ff74fe364e55f4354eb031ca188c21bf 100644 (file)
@@ -181,7 +181,7 @@ class faiPartitionTable extends plugin
 
     /* New Listhandling */
     foreach($_POST as $name => $value){
-      if(preg_match("/^edit_[^_]*_/",$name)){
+      if(preg_match("/^edit_[^_]*_[xy]$/",$name)){
         $s_entry = preg_replace("/^edit_/","",$name);
         $s_entry = base64_decode(preg_replace("/_.*/","",$s_entry));
         $s_action = "edit";