From 01512b083535df1801ab55d1649ec04ae179c0af Mon Sep 17 00:00:00 2001 From: objecttothis Date: Mon, 4 Dec 2023 15:20:26 +0400 Subject: [PATCH] Fixed incorrectly named function for route. --- app/Controllers/Home.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Controllers/Home.php b/app/Controllers/Home.php index eeb6e0d92..75c9764d2 100644 --- a/app/Controllers/Home.php +++ b/app/Controllers/Home.php @@ -25,8 +25,10 @@ class Home extends Secure_Controller /** * Load "change employee password" form + * + * @noinspection PhpUnused */ - public function change_password(int $employee_id = -1): void //TODO: Replace -1 with a constant + public function getChangePassword(int $employee_id = -1): void //TODO: Replace -1 with a constant { $person_info = $this->employee->get_info($employee_id); foreach(get_object_vars($person_info) as $property => $value)