Skip to content

Commit

Permalink
Fixed a typo when setting the last query hash before throwing an error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Rowan Lewis authored and brendo committed Jun 28, 2016
1 parent e8843c3 commit d07f14f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion symphony/lib/toolkit/class.database.php
Expand Up @@ -697,7 +697,7 @@ private function error(Exception $ex = null)
public function throwError(Exception $error, $query, $query_hash)
{
$this->_lastQuery = $query;
$this->_lastQueryHash = $hash;
$this->_lastQueryHash = $query_hash;

$this->error($error);
}
Expand Down

0 comments on commit d07f14f

Please sign in to comment.