make drag/drop work with acl, which bypassed the form

This commit is contained in:
redmatrix
2016-07-24 22:58:26 -07:00
parent 063b4286e7
commit 01338a7610
2 changed files with 4 additions and 2 deletions

View File

@@ -9,6 +9,8 @@ require_once('include/photos.php');
class File_upload extends \Zotlabs\Web\Controller {
function post() {
// logger('file upload: ' . print_r($_REQUEST,true));
$channel = (($_REQUEST['channick']) ? get_channel_by_nick($_REQUEST['channick']) : null);