From bdeaed3d0c870f00fb7cede714761cb7153599ca Mon Sep 17 00:00:00 2001 From: Mischa ter Smitten Date: Tue, 28 Jul 2015 16:28:19 +0200 Subject: [PATCH] Warnings on scripts tab when empty Fixes #38 --- opcache.php | 1 + 1 file changed, 1 insertion(+) diff --git a/opcache.php b/opcache.php index ca0d591..143997a 100644 --- a/opcache.php +++ b/opcache.php @@ -98,6 +98,7 @@ public function getConfigDataRows() public function getScriptStatusRows() { + $dirs = array(); foreach ($this->_status['scripts'] as $key => $data) { $dirs[dirname($key)][basename($key)] = $data; $this->_arrayPset($this->_d3Scripts, $key, array(