From: hickert Date: Fri, 15 Jun 2007 08:50:35 +0000 (+0000) Subject: Fixed error X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=f18a7eb974015ed0e674500c31f76760462d3c04;p=gosa.git Fixed error git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6602 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/applications/class_applicationGeneric.inc b/plugins/admin/applications/class_applicationGeneric.inc index 1882c313a..1169b1786 100644 --- a/plugins/admin/applications/class_applicationGeneric.inc +++ b/plugins/admin/applications/class_applicationGeneric.inc @@ -348,7 +348,7 @@ class application extends plugin print_red(_("Could not convert image to png, possilby the image magick extension is missing.")); } - if(imagick_writeimage($handle,$_FILES['picture_file']['tmp_name'])){ + if(!imagick_writeimage($handle,$_FILES['picture_file']['tmp_name'])){ print_red(sprintf(_("Could not save uploaded image to %s."),$_FILES['picture_file']['tmp_name'])); }