From 20dbfbe8cad9ebf904a90ce63f3789d25fa662bc Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 17 Nov 2010 09:15:46 +0000 Subject: [PATCH] Updated handling of uploaded files, thanks to bcooksley git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20251 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc index 64bf2a65b..14d4d7757 100644 --- a/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc +++ b/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc @@ -909,7 +909,7 @@ class appgroup extends plugin if(isset($_FILES['folder_image']) && isset($_POST['folder_image_upload'])){ if($_FILES['folder_image']['error'] == 0 && $_FILES['folder_image']['size'] > 0){ - $this->edit_entry['ICON'] = file_get_contents($_FILES['folder_image']['tmp_name']); + $this->edit_entry['ICON'] = file_get_contents(gosa_file_name($_FILES['folder_image']['tmp_name'])); } } -- 2.30.2