aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Wall_attach.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2016-12-02 23:09:25 -0800
committerzotlabs <mike@macgirvin.com>2016-12-02 23:09:25 -0800
commit8e6ff32c97fe6abbbc93e3d7d2769142c285b948 (patch)
tree91c665eabf759ee99d0f9366ccf34a082394b5e3 /Zotlabs/Module/Wall_attach.php
parent23acd2738b7eca2c8d28c467d5e2baec7a6e9a36 (diff)
downloadvolse-hubzilla-8e6ff32c97fe6abbbc93e3d7d2769142c285b948.tar.gz
volse-hubzilla-8e6ff32c97fe6abbbc93e3d7d2769142c285b948.tar.bz2
volse-hubzilla-8e6ff32c97fe6abbbc93e3d7d2769142c285b948.zip
more api work for item/store and doco
Diffstat (limited to 'Zotlabs/Module/Wall_attach.php')
-rw-r--r--Zotlabs/Module/Wall_attach.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Wall_attach.php b/Zotlabs/Module/Wall_attach.php
index 9268fbb0a..c6fe7518e 100644
--- a/Zotlabs/Module/Wall_attach.php
+++ b/Zotlabs/Module/Wall_attach.php
@@ -12,7 +12,7 @@ class Wall_attach extends \Zotlabs\Web\Controller {
$using_api = false;
- if(\App::$data['api_info'] && array_key_exists('media',$_FILES)) {
+ if($_REQUEST['api_source'] && array_key_exists('media',$_FILES)) {
$using_api = true;
}