summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b488d66)
raw | patch | inline | side by side (parent: b488d66)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Jun 2007 08:06:34 +0000 (08:06 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 21 Jun 2007 08:06:34 +0000 (08:06 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6643 594d385d-05f5-0310-b6e9-bd551577e9d8
plugins/admin/fai/class_faiPartitionTableEntry.inc | patch | blob | history |
diff --git a/plugins/admin/fai/class_faiPartitionTableEntry.inc b/plugins/admin/fai/class_faiPartitionTableEntry.inc
index df6cede2d1cb7d8cdea49877b152575cf3e5ee25..625798172f048c9b313ce721ed75aac203e111ee 100644 (file)
$message[]= sprintf(_("Please enter a valid partition size for partition %s."),($key));
break;
case 1:
- if (!is_id(is_id($tmp[0]))){
+ if (!is_id(is_id($tmp[0])) &&(!empty($tmp[1]))){
$message[]= sprintf(_("Please enter a valid partition size for partition %s."),($key));
}
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]){
$message[]=sprintf(_("Please enter a valid range for partition %s."),($key));