From ffb639ae72f2711eab3f2dc2be75011b48b0b544 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 22b4b2f..393bd62 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(