summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2d99faf)
raw | patch | inline | side by side (parent: 2d99faf)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Jul 2010 10:20:34 +0000 (10:20 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 9 Jul 2010 10:20:34 +0000 (10:20 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18975 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiPackage.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiPackage.inc b/gosa-plugins/fai/admin/fai/class_faiPackage.inc
index 0d797a13d3f0475c6233f05d028db44efcbf8f65..61956588384273aeb044117613a5ab8d6c502af7 100644 (file)
// Check all splitted packages for valid package names
$add_packages = preg_split( "/[\s,]+/", get_post('addPpkgsText'), -1, PREG_SPLIT_NO_EMPTY );
if( is_array($add_packages) ) {
+ $valid_packages = array();
$invalid_packages = array();
foreach ($add_packages as $value) {
if(!preg_match( "/^[a-z0-9][-0-9a-z+\.]+$/",$value)){