From: hickert Date: Wed, 17 Nov 2010 09:15:46 +0000 (+0000) Subject: Updated handling of uploaded files, thanks to bcooksley X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=20dbfbe8cad9ebf904a90ce63f3789d25fa662bc;p=gosa.git Updated handling of uploaded files, thanks to bcooksley git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20251 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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'])); } }