viewgit/inc/functions.php:22 Function utf8_encode() is deprecated [8192]

Fix notice in Web Scrapers 2, a=chris

Chris Pollett [2019-11-23 18:Nov:rd]
Fix notice in Web Scrapers 2, a=chris
Filename
src/controllers/components/CrawlComponent.php
diff --git a/src/controllers/components/CrawlComponent.php b/src/controllers/components/CrawlComponent.php
index 348e1cad8..2581d689d 100644
--- a/src/controllers/components/CrawlComponent.php
+++ b/src/controllers/components/CrawlComponent.php
@@ -2145,7 +2145,7 @@ class CrawlComponent extends Component implements CrawlConstants
                     break;
             }
         }
-        if (empty($search_array)] || !empty($default_search)) {
+        if (empty($search_array) || !empty($default_search)) {
             if (!empty($_SESSION['LAST_SEARCH']['scrapers'])) {
                 if (!empty($_REQUEST['arg']) && $_REQUEST['arg'] == 'search') {
                     $search_array =
ViewGit