From 6d6db8ee94bde0e5fd0fb92d5f396803e2993df3 Mon Sep 17 00:00:00 2001
From: Oliver <igittigitt@users.noreply.github.com>
Date: Fri, 16 Jun 2017 09:38:55 +0200
Subject: [PATCH] Update html.php

$regex initialization added to clearify that it is passed by reference and filled from subroutines
---
 inc/html.php | 1 +
 1 file changed, 1 insertion(+)

diff --git a/inc/html.php b/inc/html.php
index 2897d01c1..1454edbf8 100644
--- a/inc/html.php
+++ b/inc/html.php
@@ -407,6 +407,7 @@ function html_search(){
     flush();
 
     //do fulltext search
+    $regex = array();
     $data = ft_pageSearch($QUERY,$regex);
     if(count($data)){
         print '<dl class="search_results">';
-- 
GitLab