diff options
author | Andreas Gohr <andi@splitbrain.org> | 2010-01-21 22:01:55 +0100 |
---|---|---|
committer | Andreas Gohr <andi@splitbrain.org> | 2010-01-21 22:01:55 +0100 |
commit | e5fc893fa08504956662a0ca4533b6fb259b7468 (patch) | |
tree | 2efa119815d23272ca66a397430e84e6d4cd09cd | |
parent | d9c82eb63294032cf16e003122eeeca5a6c8454e (diff) | |
download | rpg-e5fc893fa08504956662a0ca4533b6fb259b7468.tar.gz rpg-e5fc893fa08504956662a0ca4533b6fb259b7468.tar.bz2 |
initialize array in linesToHash FS#1845
-rw-r--r-- | inc/confutils.php | 1 |
1 files changed, 1 insertions, 0 deletions
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); |