Code

Fixed sort to ksort
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 20 Apr 2006 10:08:39 +0000 (10:08 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 20 Apr 2006 10:08:39 +0000 (10:08 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3067 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_workstationStartup.inc

index 9c12a77f64930f8e7e1a42c7044a9baa72ad73a2..45b041b559b0d918b7f8b9a5ca34c0edf6f91f1c 100644 (file)
@@ -17,7 +17,7 @@ class workstartup extends plugin
   var $gotoFilesystem       = array();
   var $gotoTerminalPath     = "";
   var $FAIstatus            = "";
-  var $gotoBootKernels      = array("default");
+  var $gotoBootKernels      = array("default" => "default");
 
   /* attribute list for save action */
   var $attributes     = array("gotoLdapServer", "gotoBootKernel", "gotoKernelParameters", "FAIclass", "FAIstatus", "gotoShare","FAIdebianMirror", "FAIrelease");
@@ -238,10 +238,11 @@ class workstartup extends plugin
           }
         }
         pclose($fh);
-        sort($this->gotoBootKernels);
+        ksort($this->gotoBootKernels);
       }
       
     }
+
   }