aboutsummaryrefslogtreecommitdiffstats
path: root/mod/photos.php
diff options
context:
space:
mode:
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']) {