From 423fa09e3f524c8139d18c3e8652f542bcf2cd44 Mon Sep 17 00:00:00 2001 From: Malf Furious Date: Wed, 27 Apr 2016 23:38:49 -0400 Subject: Update form handler for common/setting-modal, user tab Now supports file upload to replace the user's head image --- app/controller/dashboard.control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controller') diff --git a/app/controller/dashboard.control.php b/app/controller/dashboard.control.php index 53ca160..aa1c0bd 100644 --- a/app/controller/dashboard.control.php +++ b/app/controller/dashboard.control.php @@ -14,7 +14,7 @@ class Dashboard extends Controller function handle($argv) { $mod = new DashboardModel(); - $mod->common_handleFormSubmissions($_REQUEST['input']); + $mod->common_handleFormSubmissions($_REQUEST['input'], $_FILES['attachment']); $mod->common_deflt(); $this->action_default($mod); } -- cgit v1.2.3