aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/.htaccess
diff options
context:
space:
mode:
authorPeter Wu2014-07-20 15:59:51 +0200
committerPeter Wu2014-07-20 23:23:24 +0200
commitb7be6ba7ed302e18a313af4cbb2827b1fb62193a (patch)
treec262da09f5fe403ed5657e9ee84d5a22abb0acfb /.htaccess
parentDefensive programming: more urlencode/htmlentities (diff)
downloadapt-panopticon_cgp-b7be6ba7ed302e18a313af4cbb2827b1fb62193a.zip
apt-panopticon_cgp-b7be6ba7ed302e18a313af4cbb2827b1fb62193a.tar.gz
apt-panopticon_cgp-b7be6ba7ed302e18a313af4cbb2827b1fb62193a.tar.bz2
apt-panopticon_cgp-b7be6ba7ed302e18a313af4cbb2827b1fb62193a.tar.xz
Fix type confusion
index.php expects that collectd_hosts() always return an array for array_diff. Since an empty array evaluates to FALSE anyway, do not change the type and just return the empty array. In base.php, if no files are returned, the loop is never called and three variables are not initialized. Do it now.
Diffstat (limited to '.htaccess')
0 files changed, 0 insertions, 0 deletions