Improved resource id creation

This commit is contained in:
Michael 2018-02-20 10:02:07 +00:00
commit a3af6807ac
9 changed files with 23 additions and 37 deletions

View file

@ -838,7 +838,7 @@ function photos_post(App $a)
$smallest = 0;
$photo_hash = photo_new_resource();
$photo_hash = Photo::newResource();
$r = Photo::store($Image, $page_owner_uid, $visitor, $photo_hash, $filename, $album, 0 , 0, $str_contact_allow, $str_group_allow, $str_contact_deny, $str_group_deny);