diff --git a/src/bb-library/Box/Requirements.php b/src/bb-library/Box/Requirements.php index 039a8debc..a3787e93e 100644 --- a/src/bb-library/Box/Requirements.php +++ b/src/bb-library/Box/Requirements.php @@ -27,6 +27,7 @@ class Box_Requirements implements \Box\InjectionAwareInterface private $_all_ok = true; private $_app_path = BB_PATH_ROOT; + private $_options = array(); public function __construct() { @@ -160,6 +161,7 @@ class Box_Requirements implements \Box\InjectionAwareInterface { $folders = $this->_options['writable_folders']; + $result = array(); foreach($folders as $folder) { if($this->checkPerms($folder)) { $result[$folder] = true;