still working through some issues with curl magic-auth

fixed profile photo upload
This commit is contained in:
redmatrix
2016-06-27 22:25:37 -07:00
parent 30a5fe3061
commit 7d7f43c205
5 changed files with 30 additions and 6 deletions

View File

@@ -50,7 +50,7 @@ class Cover_photo extends \Zotlabs\Web\Controller {
check_form_security_token_redirectOnErr('/cover_photo', 'cover_photo');
if((x($_POST,'cropfinal')) && ($_POST['cropfinal'] == 1)) {
if((array_key_exists('cropfinal',$_POST)) && ($_POST['cropfinal'] == 1)) {
// phase 2 - we have finished cropping