From: cajus Date: Tue, 30 Jun 2009 09:02:22 +0000 (+0000) Subject: Fixed fai flag handling X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4fbe01b6067ece6076ee23830ba3283789a3a1a1;p=gosa.git Fixed fai flag handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13833 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/fai/admin/fai/class_faiPartitionTableEntry.inc b/gosa-plugins/fai/admin/fai/class_faiPartitionTableEntry.inc index 0efc24c10..8d3181350 100644 --- a/gosa-plugins/fai/admin/fai/class_faiPartitionTableEntry.inc +++ b/gosa-plugins/fai/admin/fai/class_faiPartitionTableEntry.inc @@ -272,13 +272,13 @@ class faiPartitionTableEntry extends plugin "changeState('FAIfsOptions_".$key."') ; \""; if($this->acl_is_writeable("FAIpartitionFlags")){ - if($part['FAIpartitionFlags']!=false){ + if($part['FAIpartitionFlags'] != "preserve"){ $str .= "\n"; }else{ $str .= "\n"; } }else{ - if($part['FAIpartitionFlags']!=false){ + if($part['FAIpartitionFlags'] != "preserve"){ $str .= ""._("False").""; }else{ $str .= ""._("True")."";