From: Banana Date: Sat, 28 May 2022 16:28:01 +0000 (+0200) Subject: fixed #15 X-Git-Tag: 2.7_2022-06-12~2 X-Git-Url: http://91.132.146.200/gitweb/?a=commitdiff_plain;h=fc2c3c5f959c7ffd7fbf2aabcf3f138d2b6e305c;p=insipid.git fixed #15 --- 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"> (#)