From: hickert Date: Wed, 5 Apr 2006 11:07:33 +0000 (+0000) Subject: update X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0ec43ef600fb5f988711907ed55402b3905d55ca;p=gosa.git update git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@2990 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/class_ppdManager.inc b/include/class_ppdManager.inc index a5fad0730..1152fccc1 100644 --- a/include/class_ppdManager.inc +++ b/include/class_ppdManager.inc @@ -136,10 +136,9 @@ class ppdManager { if(!is_readable($ppdFile)){ print_red(sprintf(_("Specified ppd file '%s' can't be opened for reading."),$ppdFile)); - }elseif(is_writeable($ppdFile.".tmp")){ + }elseif(!is_writeable($ppdFile.".tmp")){ print_red(sprintf(_("The required tmp file file '%s' can't be opened for writing."),$ppdFile.".tmp")); }else{ - foreach ($properties as $name => $section){ foreach ($section as $attribute => $value){ if (is_array($value)){