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

Commit

Permalink
Merge branch 'hotfix/2681'
Browse files Browse the repository at this point in the history
Close #2681
  • Loading branch information
weierophinney committed Oct 8, 2012
2 parents bd596fc + 22b2065 commit 7a9d4cd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/Zend/Cache/Storage/Adapter/Dba.php
Expand Up @@ -517,7 +517,7 @@ protected function _open()
protected function _close()
{
if ($this->handle) {
ErrorHandler::start(E_WARNING);
ErrorHandler::start(E_NOTICE);
dba_close($this->handle);
ErrorHandler::stop();
$this->handle = null;
Expand Down
2 changes: 1 addition & 1 deletion tests/ZendTest/Cache/Storage/Adapter/AbstractDbaTest.php
Expand Up @@ -44,7 +44,7 @@ public function setUp()
}
}

$this->temporaryDbaFile = sys_get_temp_dir() . DIRECTORY_SEPARATOR . uniqid('zfcache_dba_');
$this->temporaryDbaFile = sys_get_temp_dir() . DIRECTORY_SEPARATOR . uniqid('zfcache_dba_') . '.' . $this->handler;
$this->_options = new Cache\Storage\Adapter\DbaOptions(array(
'pathname' => $this->temporaryDbaFile,
'handler' => $this->handler,
Expand Down

0 comments on commit 7a9d4cd

Please sign in to comment.