fix for index
This commit is contained in:
parent
338f836287
commit
a811f4fb15
1 changed files with 3 additions and 1 deletions
|
@ -15,8 +15,10 @@ if (isset($_GET["item"])) {
|
|||
$doc_list_template = new Template();
|
||||
if ($_GET["tag"] == "*"){
|
||||
$docs = $db->listDocs();
|
||||
} elseif ($_GET["tag"] == "_") {
|
||||
$docs = $db->listDocs(-1);
|
||||
} else {
|
||||
$tag = $db->findTag($_GET["tag"]);
|
||||
$tag = $db->findTag($_GET["tag"]);
|
||||
$docs = $db->listDocs($tag["ID"]);
|
||||
$doc_list_template->tag = $db->fetchTag($tag["ID"]);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue