aboutsummaryrefslogtreecommitdiff
path: root/include/contacts-new.php
diff options
context:
space:
mode:
authorCamil Staps2016-07-27 21:06:48 +0200
committerCamil Staps2016-07-27 21:06:48 +0200
commit390251ac43ca889a318369342b4663ef928349d8 (patch)
treeb2b0a68dd6fccf6fa52d2c1fc95bdd70811a60b3 /include/contacts-new.php
parentDiscount: use Model (diff)
Contact: use Model
Diffstat (limited to 'include/contacts-new.php')
-rw-r--r--include/contacts-new.php2
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;