From 4fbe01b6067ece6076ee23830ba3283789a3a1a1 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 30 Jun 2009 09:02:22 +0000 Subject: [PATCH] Fixed fai flag handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13833 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/fai/admin/fai/class_faiPartitionTableEntry.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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").""; -- 2.30.2