From e5fc893fa08504956662a0ca4533b6fb259b7468 Mon Sep 17 00:00:00 2001 From: Andreas Gohr <andi@splitbrain.org> Date: Thu, 21 Jan 2010 22:01:55 +0100 Subject: [PATCH] initialize array in linesToHash FS#1845 --- inc/confutils.php | 1 + 1 file changed, 1 insertion(+) diff --git a/inc/confutils.php b/inc/confutils.php index abfde8a80..5384593c7 100644 --- a/inc/confutils.php +++ b/inc/confutils.php @@ -143,6 +143,7 @@ function getSchemes() { * @author Gina Haeussge <gina@foosel.net> */ function linesToHash($lines, $lower=false) { + $conf = array(); foreach ( $lines as $line ) { //ignore comments (except escaped ones) $line = preg_replace('/(?<![&\\\\])#.*$/','',$line); -- GitLab