aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Search.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2023-04-23 18:44:39 +0000
committerMario <mario@mariovavti.com>2023-04-23 18:44:39 +0000
commit8a14e4261d3247dc02254cb91fdb9b82e051f324 (patch)
treeebe993e4e2f840897ecc5676f6dee4aa80d59460 /Zotlabs/Module/Search.php
parent6c9f1de2659514d42b084bf1900ecaa97a1deb0b (diff)
downloadvolse-hubzilla-8a14e4261d3247dc02254cb91fdb9b82e051f324.tar.gz
volse-hubzilla-8a14e4261d3247dc02254cb91fdb9b82e051f324.tar.bz2
volse-hubzilla-8a14e4261d3247dc02254cb91fdb9b82e051f324.zip
check for uuid so that will be also catch items that were posted from alternate locations
Diffstat (limited to 'Zotlabs/Module/Search.php')
-rw-r--r--Zotlabs/Module/Search.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Search.php b/Zotlabs/Module/Search.php
index eb8f238e9..6b1060570 100644
--- a/Zotlabs/Module/Search.php
+++ b/Zotlabs/Module/Search.php
@@ -58,7 +58,7 @@ class Search extends Controller {
$o .= search($search, 'search-box', '/search', ((local_channel()) ? true : false));
- if (local_channel() && strpos($search, 'https://') === 0 && !$update && !$load) {
+ if (local_channel() && str_starts_with($search, 'https://') && !$update && !$load) {
$url = htmlspecialchars_decode($search);