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

escape entities in last, a=chris

Chris Pollett [2020-08-04 07:Aug:th]
escape entities in last, a=chris
Filename
src/controllers/components/SocialComponent.php
diff --git a/src/controllers/components/SocialComponent.php b/src/controllers/components/SocialComponent.php
index da9f21ce6..de46175b7 100644
--- a/src/controllers/components/SocialComponent.php
+++ b/src/controllers/components/SocialComponent.php
@@ -1874,9 +1874,9 @@ class SocialComponent extends Component implements CrawlConstants
         }
         if ($view_mode == 'ungrouped') {
             $connector = (substr($paging_query, -1) == "?") ? "" :
-                "&";
+                "&";
             $paging_query .= "{$connector}v=ungrouped";
-            $data['RSS_FEED_URL'] = $paging_query . "&f=rss";
+            $data['RSS_FEED_URL'] = $paging_query . "&f=rss";
         }
         $data['SCRIPT'] .= " let nextPage = initNextResultsPage($limit," .
             " {$data['TOTAL_ROWS']}, $results_per_page, ".
ViewGit