undefined function

This commit is contained in:
redmatrix 2015-07-30 20:37:32 -07:00
parent f45cb8cf1f
commit 1d218784d1

View File

@ -165,6 +165,7 @@ class RedFile extends DAV\Node implements DAV\IFile {
);
if($is_photo) {
require_once('include/photos.php');
$args = array( 'resource_id' => $this->data['hash'], 'album' => $album, 'os_path' => $f, 'filename' => $r[0]['filename'], 'getimagesize' => $gis );
$p = photo_upload($c[0],$this->auth->observer,$args);
}