Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix buffering getTotalSpace #3313

Closed
wants to merge 1 commit into from

2 participants

@qRoC

Fix buffering getTotalSpace in Apc adapter

@weierophinney weierophinney referenced this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/3313' into develop
Forward port #3313
4e61f0e
@weierophinney weierophinney was assigned
@ghost Unknown referenced this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/3313'
Close #3313
944c221
@ghost Unknown referenced this pull request from a commit
@weierophinney weierophinney Merge branch 'hotfix/3313' into develop
Forward port #3313
8879835
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 30, 2012
  1. @qRoC

    Fix buffering getTotalSpace

    qRoC authored
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  library/Zend/Cache/Storage/Adapter/Apc.php
View
2  library/Zend/Cache/Storage/Adapter/Apc.php
@@ -109,7 +109,7 @@ public function getOptions()
*/
public function getTotalSpace()
{
- if ($this->totalSpace !== null) {
+ if ($this->totalSpace === null) {
$smaInfo = apc_sma_info(true);
$this->totalSpace = $smaInfo['num_seg'] * $smaInfo['seg_size'];
}
Something went wrong with that request. Please try again.