Fix setting name in add_contact(). 2013-10-31
authorIain Patterson <me@iain.cx>
Thu, 31 Oct 2013 16:21:50 +0000 (12:21 -0400)
committerIain Patterson <me@iain.cx>
Thu, 31 Oct 2013 16:31:52 +0000 (12:31 -0400)
commitcd900901a496c76cb2e0cf0d4efba43540b86002
tree5da9082725098960d14f18d0387598de03cf60bc
parentbacdf10614c315868adfc94c597208d8c8256181
Fix setting name in add_contact().

The add_contact() function was supposed to set the name parameter to the
display name of the newly-created contact.  We now ensure that that happens.

A side-effect of the bug was that we weren't showing the details of new
contacts, as was intended.
lib/contact.php