aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMinteck <contact@minteck.org>2023-02-20 22:36:08 +0100
committerMinteck <contact@minteck.org>2023-02-20 22:36:08 +0100
commited43f8c5337e3b452c7a235f656b51aef6267e26 (patch)
tree97a55c9637fb29c5a74fe36a412364df8c553fb8
parent0286f9be1d52e38c6480bac895d48a7ce381f58b (diff)
downloadbooru-ed43f8c5337e3b452c7a235f656b51aef6267e26.tar.gz
booru-ed43f8c5337e3b452c7a235f656b51aef6267e26.tar.bz2
booru-ed43f8c5337e3b452c7a235f656b51aef6267e26.zip
Updated search/index.php (automated)
-rw-r--r--search/index.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/search/index.php b/search/index.php
index 5a34fff..875df56 100644
--- a/search/index.php
+++ b/search/index.php
@@ -39,6 +39,9 @@ if (isset($_GET["page"]) && is_numeric($_GET["page"]) && (int)$_GET["page"] > 0)
if (isset($_GET["type"]) && $_GET['type'] === "nsfw") {
$filter = $filters["nsfw"];
$type = "nsfw";
+ } else if (isset($_GET["type"]) && $_GET['type'] === "all") {
+ $filter = $filters["minimal"];
+ $type = "all";
}
?>