fixes warnings in the httpd server error logs

This commit is contained in:
Ryan Walberg 2013-11-06 04:01:50 +00:00
parent d9cb5686ef
commit b8fea7d93c
7 changed files with 19 additions and 19 deletions

View file

@ -197,7 +197,7 @@ while ($row = $stmt->fetch()) {
}
$smarty->assign('action', $action);
$smarty->assign('edituserid', (int) $_GET["userid"]);
$smarty->assign('edituserid', isset($_GET["userid"]) ? (int) $_GET["userid"] : -1);
$smarty->assign('username', $username);
if (isset($username_error)) {
$smarty->assign('username_error', $username_error);