diff options
Diffstat (limited to 'include/RedDAV/RedDirectory.php')
-rw-r--r-- | include/RedDAV/RedDirectory.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/RedDAV/RedDirectory.php b/include/RedDAV/RedDirectory.php index dba857cdc..c41056ac9 100644 --- a/include/RedDAV/RedDirectory.php +++ b/include/RedDAV/RedDirectory.php @@ -298,7 +298,7 @@ class RedDirectory extends DAV\Node implements DAV\ICollection, DAV\IQuota { if($is_photo) { require_once('include/photos.php'); - $args = array( 'data' => @file_get_contents($f)); + $args = array( 'data' => @file_get_contents($f), 'resource_id' => $hash); $p = photo_upload($c[0],get_app()->get_observer(),$args); } |