Skip to content
This repository was archived by the owner on May 16, 2018. It is now read-only.

Commit c7d7fd7

Browse files
Minor fix in PluginLoader.php
1 parent 8d2a2af commit c7d7fd7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

library/Zend/Loader/PluginLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ public static function getIncludeFileCache()
490490
*/
491491
protected static function _appendIncFile($incFile)
492492
{
493-
if (null === self::$_includeFileCacheHandler) {
493+
if (!isset(self::$_includeFileCacheHandler)) {
494494
self::$_includeFileCacheHandler = fopen(self::$_includeFileCache, 'ab');
495495

496496
if (!flock(self::$_includeFileCacheHandler, LOCK_EX | LOCK_NB, $wouldBlock) || $wouldBlock) {

0 commit comments

Comments
 (0)