From b7ceaeeac2f18ff22d65f381a20ed58565a66853 Mon Sep 17 00:00:00 2001 From: cajus Date: Thu, 20 Apr 2006 10:08:39 +0000 Subject: [PATCH] Fixed sort to ksort git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3067 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_workstationStartup.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/plugins/admin/systems/class_workstationStartup.inc b/plugins/admin/systems/class_workstationStartup.inc index 9c12a77f6..45b041b55 100644 --- a/plugins/admin/systems/class_workstationStartup.inc +++ b/plugins/admin/systems/class_workstationStartup.inc @@ -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); } } + } -- 2.30.2