summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 35d7c11)
raw | patch | inline | side by side (parent: 35d7c11)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Aug 2008 07:45:40 +0000 (07:45 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 25 Aug 2008 07:45:40 +0000 (07:45 +0000) |
-If printer was created there were some warning displayed
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12265 594d385d-05f5-0310-b6e9-bd551577e9d8
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12265 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc b/gosa-plugins/goto/admin/systems/goto/class_printGeneric.inc
index 702212d4d1cebea43bc2fa6cdc349d41e3bd56ef..fdd8f3809f08d6003fce63b8f9241902326b2ffd 100644 (file)
/* Remove empty values */
foreach($this->attrs as $name => $value){
- $value = trim($value);
- if($value == ""){
+ if(empty($value)){
unset($this->attrs[$name]);
}
}