aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-02-05 16:54:09 -0800
committerfriendica <info@friendica.com>2013-02-05 16:54:09 -0800
commitf3eb2eb9e7f5da80dae8518a70e05514a203d0f1 (patch)
tree90a1d8d6bdb8a4b2156a0502370373e2960673cf /mod/photos.php
parent05ba851d52019decf84ea0325f4138f354355d37 (diff)
downloadvolse-hubzilla-f3eb2eb9e7f5da80dae8518a70e05514a203d0f1.tar.gz
volse-hubzilla-f3eb2eb9e7f5da80dae8518a70e05514a203d0f1.tar.bz2
volse-hubzilla-f3eb2eb9e7f5da80dae8518a70e05514a203d0f1.zip
convert wall_upload to use the photo api
Diffstat (limited to 'mod/photos.php')
-rw-r--r--mod/photos.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/photos.php b/mod/photos.php
index e74ced67c..90b2990aa 100644
--- a/mod/photos.php
+++ b/mod/photos.php
@@ -525,6 +525,7 @@ function photos_post(&$a) {
* default post action - upload a photo
*/
+ $_REQUEST['source'] = 'photos';
$r = photo_upload($a->channel,$a->get_observer(), $_REQUEST);
if(! $r['success']) {