From: hickert Date: Thu, 21 Jun 2007 08:05:52 +0000 (+0000) Subject: Allow open end for partition table size X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=abe0cd1cc8a01c0ee44fed5a7f721dbbb54e52b1;p=gosa.git Allow open end for partition table size git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@6642 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/fai/class_faiPartitionTableEntry.inc b/plugins/admin/fai/class_faiPartitionTableEntry.inc index e6d42279c..76d2fcb58 100644 --- a/plugins/admin/fai/class_faiPartitionTableEntry.inc +++ b/plugins/admin/fai/class_faiPartitionTableEntry.inc @@ -388,9 +388,9 @@ class faiPartitionTableEntry extends plugin break; case 2: - if((!is_id($tmp[0]))&&(!is_id($tmp[1]))){ + if((!is_id($tmp[0]))&&(!is_id($tmp[1]))&&(!empty($tmp[1]))){ $message[]=sprintf(_("Please enter a valid range for partition %s."),($key)); - }elseif($tmp[0]>=$tmp[1]){ + }elseif($tmp[0]>=$tmp[1] &&(!empty($tmp[1]))){ $message[]=sprintf(_("Please enter a valid range for partition %s."),($key)); } break;