From 655fcf6240962971b16fa08d115d8eb230436116 Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 19 May 2010 09:20:56 +0000 Subject: [PATCH] Updated checks git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18546 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_core.inc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/gosa-core/include/class_core.inc b/gosa-core/include/class_core.inc index d7a528bcd..b8d7bbd58 100644 --- a/gosa-core/include/class_core.inc +++ b/gosa-core/include/class_core.inc @@ -35,9 +35,12 @@ class core extends plugin { break; case 'theme': $cmd = "cd ../ihtml/themes; find . -name 'img.styles' | sed s/'^[^\/]*\/\([^\/]*\).*'/'\\1'/g"; - $res = `$cmd`; + $res = `$cmd` ; + $list = array(); foreach(preg_split("/\n/",$res) as $entry){ - $list[$entry] = $entry; + if(!empty($entry)){ + $list[$entry] = $entry; + } } break; case 'accountPrimaryAttribute': @@ -375,7 +378,7 @@ class core extends plugin { "check" => "", "migrate" => "", "group" => "visual", - "mandatory" => FALSE), + "mandatory" => TRUE), array( "name" => "sessionLifetime", -- 2.30.2