Fallback when there is no nick name

pull/2349/head
Michael Vogel 7 years ago
parent 922186bdd1
commit 7f1f549c6f
  1. 3
      mod/item.php

@ -160,6 +160,9 @@ function item_post(&$a) {
logger('no contact found: '.print_r($thrparent, true), LOGGER_DEBUG);
} else
logger('parent contact: '.print_r($parent_contact, true), LOGGER_DEBUG);
if ($parent_contact["nick"] == "")
$parent_contact["nick"] = $parent_contact["name"];
}
}

Loading…
Cancel
Save