From f18a7eb974015ed0e674500c31f76760462d3c04 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 15 Jun 2007 08:50:35 +0000 Subject: [PATCH] Fixed error git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@6602 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/applications/class_applicationGeneric.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'])); } -- 2.30.2