fix pre-filled tags in doc upload
This commit is contained in:
parent
563c0cfe54
commit
d7b9df6733
2 changed files with 4 additions and 1 deletions
|
@ -19,7 +19,7 @@
|
|||
}
|
||||
echo implode(", ", $tags);
|
||||
} else if (!empty($_GET["tag"])) {
|
||||
echo $_GET["tag"];
|
||||
echo $tag["Name"];
|
||||
}
|
||||
?>"><br>
|
||||
<input type="submit">
|
||||
|
|
|
@ -39,6 +39,9 @@ if (isset($_SESSION['ID'])) {
|
|||
}
|
||||
break;
|
||||
case "new_item":
|
||||
if (!empty($_GET["tag"])) {
|
||||
$page->tag = $db->fetchTag($_GET["tag"]);
|
||||
}
|
||||
$content = $page->render("admin_doc_edit.php");
|
||||
break;
|
||||
case "edit_item":
|
||||
|
|
Loading…
Reference in a new issue