Skip to content

Commit

Permalink
Merge pull request #10837 from chet0xhenry/fixes/model_exists_notice
Browse files Browse the repository at this point in the history
Fix notice in _exists method of model
  • Loading branch information
andresgutierrez committed Apr 7, 2016
2 parents ece3776 + 2194895 commit d2bf64a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phalcon/mvc/model.zep
Original file line number Diff line number Diff line change
Expand Up @@ -1054,7 +1054,7 @@ abstract class Model implements EntityInterface, ModelInterface, ResultInterface
*/
let num = connection->fetchOne(
"SELECT COUNT(*) \"rowcount\" FROM " . connection->escapeIdentifier(table) . " WHERE " . uniqueKey,
null,
\Phalcon\Db::FETCH_ASSOC,
uniqueParams,
uniqueTypes
);
Expand Down

0 comments on commit d2bf64a

Please sign in to comment.