Fix undefined variable
This commit is contained in:
parent
1653cee825
commit
4098eacf03
1 changed files with 2 additions and 2 deletions
|
@ -45,7 +45,7 @@ $page->navigation();
|
|||
<h1 class="ui header"><?= $page->title ?></h1>
|
||||
|
||||
<?php
|
||||
if (!$success) {
|
||||
if (isset($success) && !$success) {
|
||||
$page->error('Invalid credentials!', 'Error');
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in a new issue