diff options
Diffstat (limited to 'mod/photos.php')
-rw-r--r-- | mod/photos.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/photos.php b/mod/photos.php index 1a4a50c05..1fbee70e8 100644 --- a/mod/photos.php +++ b/mod/photos.php @@ -390,8 +390,9 @@ function photos_post(&$a) { */ $_REQUEST['source'] = 'photos'; + require_once('include/attach.php'); - $r = photo_upload($a->channel,$a->get_observer(), $_REQUEST); + $r = attach_store($a->channel,get_observer_hash(), $_REQUEST); if(! $r['success']) { notice($r['message'] . EOL); } |