Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Phalcon\Cache\Backend\Memory::queryKeys #12033

Merged
merged 1 commit into from
Jul 26, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fixed Phalcon\Cache\Backend\Memory::queryKeys
Refs: #12031
  • Loading branch information
sergeyklay authored Jul 26, 2016
commit 88bbd9a1f04ea6e277e6eee1d6f9119bb13b2e31
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