summaryrefslogtreecommitdiffstats
path: root/app/controller
diff options
context:
space:
mode:
authorMalf Furious <m@lfurio.us>2016-04-27 23:38:49 -0400
committerMalf Furious <m@lfurio.us>2016-05-01 01:34:23 -0400
commit423fa09e3f524c8139d18c3e8652f542bcf2cd44 (patch)
treea457fe768bbfe35c19a38948a4a0e6c209e6d831 /app/controller
parent0ad5c4d29ca5d4109a7fe33cdfc9b8e6b01ace6b (diff)
downloadscrott-423fa09e3f524c8139d18c3e8652f542bcf2cd44.tar.gz
scrott-423fa09e3f524c8139d18c3e8652f542bcf2cd44.zip
Update form handler for common/setting-modal, user tab
Now supports file upload to replace the user's head image
Diffstat (limited to '')
-rw-r--r--app/controller/dashboard.control.php2
1 files changed, 1 insertions, 1 deletions
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);
}