From fc2c3c5f959c7ffd7fbf2aabcf3f138d2b6e305c Mon Sep 17 00:00:00 2001 From: Banana Date: Sat, 28 May 2022 18:28:01 +0200 Subject: [PATCH] fixed #15 --- webroot/lib/link.class.php | 4 +++- webroot/view/editcategories.php | 6 ++++-- webroot/view/edittags.php | 4 ++-- 3 files changed, 9 insertions(+), 5 deletions(-) diff --git a/webroot/lib/link.class.php b/webroot/lib/link.class.php index 13fee3d..cb00a53 100644 --- a/webroot/lib/link.class.php +++ b/webroot/lib/link.class.php @@ -232,7 +232,9 @@ class Link { $search .= ' '.implode(" ", $tagArr); $search .= ' '.implode(" ", $catArr); $search .= ' '.$_t['host']; - $search .= ' '.implode(' ',explode('/',$_t['path'])); + if(isset($_t['path'])) { + $search .= ' '.implode(' ',explode('/',$_t['path'])); + } $search = trim($search); $search = strtolower($search); diff --git a/webroot/view/editcategories.php b/webroot/view/editcategories.php index 8d5d7e6..25c9273 100644 --- a/webroot/view/editcategories.php +++ b/webroot/view/editcategories.php @@ -44,7 +44,7 @@ -
+
@@ -57,7 +57,9 @@ $v) { ?> - + + (#) diff --git a/webroot/view/edittags.php b/webroot/view/edittags.php index 28fc8c6..3baaf32 100644 --- a/webroot/view/edittags.php +++ b/webroot/view/edittags.php @@ -44,7 +44,7 @@
-
+
@@ -59,7 +59,7 @@ + target="_blank"> (#) -- 2.39.5