Skip to content
Snippets Groups Projects
Commit 5565f6a8 authored by 's avatar
Browse files

fix

parent 738cf833
Branches
Tags
No related merge requests found
......@@ -4,7 +4,7 @@ class Model_Account extends Model
{
public function setHashKey($key)
{
$sql = "SELECT SetHashKey('$key') AS Key;";
$sql = "SELECT SetHashKey('$key') AS `Key`;";
$key = DB::query(Database::SELECT, $sql)->execute();
return $key->get('Key');
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment