From 64bb3eb1b25302d1ab5e75c2c221bca7013e4aee Mon Sep 17 00:00:00 2001
From: Andrew Rudenets <andrey.rudenets@gmail.com>
Date: Mon, 31 Aug 2015 17:50:03 +0300
Subject: [PATCH] Fixed password changing

---
 ~dev_rating/application/classes/Model/Account.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/~dev_rating/application/classes/Model/Account.php b/~dev_rating/application/classes/Model/Account.php
index fe583f1f9..105603fac 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,
-- 
GitLab