This commit is contained in:
Shish 2023-01-11 12:04:48 +00:00
parent f0c6dec798
commit 8e1b371e83
2 changed files with 2 additions and 1 deletions

View file

@ -117,7 +117,7 @@ class AdminPage extends Extension
$key = $event->args[1];
switch ($cmd) {
case "get":
var_dump($cache->get($key));
print_r($cache->get($key));
break;
case "set":
$cache->set($key, $event->args[2], 60);

View file

@ -264,6 +264,7 @@ class TagList extends Extension
if ($config->get_bool(TagListConfig::PAGES)) {
$html .= $this->build_az();
}
$tag_category_dict = [];
if (class_exists('Shimmie2\TagCategories')) {
$this->tagcategories = new TagCategories();
$tag_category_dict = $this->tagcategories->getKeyedDict();