X-Git-Url: http://git.iain.cx/?a=blobdiff_plain;f=lib%2Fcontact.php;h=f3764064943e1601fbd5e65634093c33933ae828;hb=cd900901a496c76cb2e0cf0d4efba43540b86002;hp=051f291b3daf017cdb63958909dd542bbf49c15d;hpb=adaa23b9f9bbfb55f5c1cd85d6e84c49b950887d;p=readifood.git diff --git a/lib/contact.php b/lib/contact.php index 051f291..f376406 100644 --- a/lib/contact.php +++ b/lib/contact.php @@ -335,9 +335,9 @@ echo " "; for ($i = count($parcel_sizes); $i < count($parcel_contents); $i++) { if (1 << $i == $GLOBALS['PARCEL_TOILETRY']) continue; - echo " getParcel() & (1 << $i)) echo " checked"; - echo ">$parcel_contents[$i]\n"; + echo ">\n"; } echo "\n"; echo "\n"; @@ -503,6 +503,7 @@ $contact = new Contact; if (! update_contact($contact, $area_id, true)) return false; + $name = $contact->getDisplayname(); return $contact->getId(); }