diff --git a/~dev_rating/application/classes/Model/Account.php b/~dev_rating/application/classes/Model/Account.php index fe583f1f9ee1e0f818779699d8c7fff18f35ae95..105603fac2a30861adfae81b1ca63beafd7746d3 100644 --- a/~dev_rating/application/classes/Model/Account.php +++ b/~dev_rating/application/classes/Model/Account.php @@ -65,7 +65,7 @@ class Model_Account extends Model public static function changeAccountData($accountID, $newPassword) { - $sql = 'SELECT `ChangeAccountData`(:account, :value, "pass") AS Num'; + $sql = 'SELECT `ChangeAccountData`(:account, :value, "password") AS Num'; return DB::query(Database::SELECT, $sql) ->parameters([ ':account' => $accountID,