X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=lib%2Fcontact.php;h=f3764064943e1601fbd5e65634093c33933ae828;hb=67672f1de588927289253f9b56270e5336aa537d;hp=a2e94151cbe22a8aa397c2ad4cfe29fb47dc957a;hpb=bacdf10614c315868adfc94c597208d8c8256181;p=readifood.git diff --git a/lib/contact.php b/lib/contact.php index a2e9415..f376406 100644 --- a/lib/contact.php +++ b/lib/contact.php @@ -503,6 +503,7 @@ $contact = new Contact; if (! update_contact($contact, $area_id, true)) return false; + $name = $contact->getDisplayname(); return $contact->getId(); }