Powerful and easy to use cms to build websites, blogs or ecommerce stores.
HTML backendblogblog-engineblog-platformbloggingcmscontent-managementcontent-management-systemecommerceecommerce-platformno-codepage-builderphpphp-cmsphp7php8self-hostedshopping-cartweb-applicationwebsite-builder
Fixed missing type notice for filters
givanz31e2d42f0229
diff --git a/admin/template/filters.tpl b/admin/template/filters.tplindex 626aaf6..41272b9 100644--- a/admin/template/filters.tpl+++ b/admin/template/filters.tpl@@ -2,7 +2,7 @@#filters input[name="action"]|before = <?php $action = Vvveb\get('action');if ($action) {?>#filters input[name="action"]|value = <?php echo htmlspecialchars(Vvveb\get('action'));?>#filters input[name="action"]|after = <?php } ?>-#filters input[name="type"]|value = <?php echo htmlspecialchars(Vvveb\get('type'));?>+#filters input[name="type"]|value = <?php echo $this->type ?? '';?>#filters|addClass = <?php if ($this->filter) echo 'show';?>#filters input[type="text"],#filters input[type="search"]|value = <?php@@ -44,3 +44,6 @@ if (isset($this->filter[$text])) echo htmlspecialchars($this->filter[$text]);}}?>@option|addNewAttribute = <?php if ($key == $selected) echo 'selected';?>++#filters #all-sites|addNewAttribute = <?php if (isset($_GET['filter']['site_id']) && !$_GET['filter']['site_id']) echo 'checked';?>+#filters #current-site|addNewAttribute = <?php if (!isset($_GET['filter']['site_id']) || $_GET['filter']['site_id']) echo 'checked';?>\ No newline at end of file