provide default photo mimetype

This commit is contained in:
zotlabs
2017-09-20 00:00:26 -07:00
parent 61d9b34929
commit 9e46472ca2
3 changed files with 8 additions and 1 deletions

View File

@@ -135,6 +135,9 @@ function translate_abook_perms_outbound(&$abook) {
$my_perms = 0;
$their_perms = 0;
if(! $abook)
return;
if(array_key_exists('abconfig',$abook) && is_array($abook['abconfig']) && $abook['abconfig']) {
foreach($abook['abconfig'] as $p) {
if($p['cat'] === 'their_perms') {