summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c992127)
raw | patch | inline | side by side (parent: c992127)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 1 Aug 2008 07:57:56 +0000 (07:57 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 1 Aug 2008 07:57:56 +0000 (07:57 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12088 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/fai/admin/fai/class_faiPartitionTableEntry.inc | patch | blob | history |
diff --git a/gosa-plugins/fai/admin/fai/class_faiPartitionTableEntry.inc b/gosa-plugins/fai/admin/fai/class_faiPartitionTableEntry.inc
index 82be755250140e9f9cacbc7fe84a19940303e923..caee87bdd1f8f11b96101faebfb6a5fb736612ac 100644 (file)
break;
case 2:
- if((!tests::is_id($tmp[0]))&&(!tests::is_id($tmp[1])) &&(!empty($tmp[1]))){
+ if( !tests::is_id($tmp[0]) && !tests::is_id($tmp[1]) && !empty($tmp[1]) ){
$message[]= msgPool::invalid(sprintf(_("partition %s size"),$key));
- }elseif($tmp[0]>=$tmp[1]){
+ }elseif(!empty($tmp[1]) && $tmp[0]>=$tmp[1]){
$message[]= msgPool::invalid(sprintf(_("partition %s size"),$key));
}
break;