From 8c1fbc3f127d41931d683da459558a5391e7ca4b Mon Sep 17 00:00:00 2001 From: Jared Hancock <jared@osticket.com> Date: Sat, 22 Mar 2014 18:15:31 -0500 Subject: [PATCH] Fix success message after new staff created --- scp/staff.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scp/staff.php b/scp/staff.php index b2d78f3cf..9a134e7e6 100644 --- a/scp/staff.php +++ b/scp/staff.php @@ -31,7 +31,7 @@ if($_POST){ break; case 'create': if(($id=Staff::create($_POST,$errors))){ - $msg=Format::htmlchars($_POST['name']).' added successfully'; + $msg=Format::htmlchars($_POST['firstname']).' added successfully'; $_REQUEST['a']=null; }elseif(!$errors['err']){ $errors['err']='Unable to add staff. Correct any error(s) below and try again.'; -- GitLab