Skip to content
This repository has been archived by the owner on Jan 29, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/1'
Browse files Browse the repository at this point in the history
Close #1
  • Loading branch information
weierophinney committed Jun 4, 2015
2 parents 5999e5a + c06111b commit 5652c09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
}
},
"require": {
"php": ">=5.3.23",
"php": ">=5.5",
"zendframework/zend-stdlib": "~2.5",
"zendframework/zend-servicemanager": "~2.5",
"zendframework/zend-serializer": "~2.5",
Expand Down Expand Up @@ -47,4 +47,4 @@
"ZendTest\\Cache\\": "test/"
}
}
}
}
5 changes: 2 additions & 3 deletions src/Pattern/CaptureCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,8 @@ public function start($pageId = null)
$pageId = $this->detectPageId();
}

$that = $this;
ob_start(function ($content) use ($that, $pageId) {
$that->set($content, $pageId);
ob_start(function ($content) use ($pageId) {
$this->set($content, $pageId);

// http://php.net/manual/function.ob-start.php
// -> If output_callback returns FALSE original input is sent to the browser.
Expand Down

0 comments on commit 5652c09

Please sign in to comment.