Skip to content

Commit

Permalink
Merge pull request phalcon#12033 from phalcon/cache/backend/query_keys
Browse files Browse the repository at this point in the history
Fixed Phalcon\Cache\Backend\Memory::queryKeys
  • Loading branch information
sergeyklay authored Jul 26, 2016
2 parents c9bf484 + 88bbd9a commit c58d716
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion phalcon/cache/backend/memory.zep
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,9 @@ class Memory extends Backend implements BackendInterface, \Serializable
{
var data, index, keys;

let data = this->_data;
let data = this->_data,
keys = [];

if typeof data == "array" {
if !prefix {
let keys = (array) array_keys(data);
Expand Down

0 comments on commit c58d716

Please sign in to comment.