Fixed incorrectly named function for route.

This commit is contained in:
objecttothis
2023-12-04 15:20:26 +04:00
committed by jekkos
parent 3e3da57543
commit 01512b0835

View File

@@ -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)