diff options
author | Camil Staps | 2016-07-27 21:06:48 +0200 |
---|---|---|
committer | Camil Staps | 2016-07-27 21:06:48 +0200 |
commit | 390251ac43ca889a318369342b4663ef928349d8 (patch) | |
tree | b2b0a68dd6fccf6fa52d2c1fc95bdd70811a60b3 /include/contacts-new.php | |
parent | Discount: use Model (diff) |
Contact: use Model
Diffstat (limited to 'include/contacts-new.php')
-rw-r--r-- | include/contacts-new.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/contacts-new.php b/include/contacts-new.php index c75298c..b671be4 100644 --- a/include/contacts-new.php +++ b/include/contacts-new.php @@ -35,7 +35,7 @@ try { $_REQUEST['country'] ); $response->success = true; - $response->message = "Contact {$contact->getName()} has been succesfully created. <a class='alert-link' href='javascript:location.reload(true);'>Refresh the page</a>."; + $response->message = "Contact {$contact->name} has been succesfully created. <a class='alert-link' href='javascript:location.reload(true);'>Refresh the page</a>."; } catch (PDOException $e) { $response->http_response_code(500); $response->success = false; |