Use textarea() for contact notes.
authorIain Patterson <me@iain.cx>
Mon, 13 May 2013 09:43:01 +0000 (05:43 -0400)
committerIain Patterson <me@iain.cx>
Mon, 13 May 2013 12:48:07 +0000 (08:48 -0400)
lib/contact.php

index d5975b9..c457f4b 100644 (file)
     /* Notes. */
     echo "<tr>\n";
     echo "  <td>Notes</td>\n";
-    echo "  <td><textarea name=\"notes\">" . $contact->getNotes() . "</textarea></td>\n";
+    echo "  <td>"; textarea("notes", $contact->getNotes()); echo "</td>\n";
     echo "</tr>\n";
   }