diff options
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; |