Fix undefined array key

This commit is contained in:
Jay Trees 2022-03-04 10:21:31 +01:00
parent 0d64a2f00d
commit e2a18dbe7e

View file

@ -137,8 +137,8 @@ $page->navigation();
<div class="field">
<label>Email</label>
<div class="ui left icon input<?= $_GET['password-reset'] ? ' disabled' : '' ?>">
<?php if ($_GET['password-reset']) { ?>
<div class="ui left icon input<?= isset($_GET['password-reset']) ? ' disabled' : '' ?>">
<?php if (isset($_GET['password-reset'])) { ?>
<input type="email"
name="email"
placeholder="john.doe@domain.tld"