Add proper check in parenting

This commit is contained in:
Matt Nadareski
2016-03-29 19:11:54 -07:00
parent aa37f6c50e
commit 2b54b15e14

View File

@@ -85,7 +85,7 @@
echo "<p>Parent not found. Add new?</p>";
echo "
Game Family: <input type=\"text\" id=\"new_parent_family\"><br>
Game Title: <input type=\"text\" id=\"new_parent_title\" value=\"".$_GET['name']."\"><br>
Game Title: <input type=\"text\" id=\"new_parent_title\" value=\"".(isset($_GET['name']) ? $_GET['name'] : "")."\"><br>
<button id=\"new_parent_add\">Add new parent</button>
";
}