From 0f6029889c1ae1b5cb05854f4685f8ce462464a4 Mon Sep 17 00:00:00 2001 From: Darko Date: Tue, 26 Dec 2017 19:45:23 +0100 Subject: [PATCH] PHP 7.2.0 compatibility fix PHP 7.2.0 compatibility fix --- oc-includes/osclass/helpers/hSearch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/oc-includes/osclass/helpers/hSearch.php b/oc-includes/osclass/helpers/hSearch.php index 3b6a7fa906..7812804b31 100755 --- a/oc-includes/osclass/helpers/hSearch.php +++ b/oc-includes/osclass/helpers/hSearch.php @@ -335,7 +335,7 @@ function osc_search_show_all_url($params = array()) { * @params array $params * @return string */ - function osc_search_url($params = null) { + function osc_search_url($params = array()) { if(is_array($params)) { osc_prune_array($params); }