From abe0cd1cc8a01c0ee44fed5a7f721dbbb54e52b1 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 21 Jun 2007 08:05:52 +0000 Subject: [PATCH] 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 --- plugins/admin/fai/class_faiPartitionTableEntry.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.30.2