diff --git a/inc/confutils.php b/inc/confutils.php
index abfde8a808850636c5b8f84502e00aa022a6383f..5384593c71bd06f416f203eea377bd650474e4d6 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);