Skip to content

Commit

Permalink
Move array initialization before hook
Browse files Browse the repository at this point in the history
  • Loading branch information
Quy Ton authored and franzliedke committed Jun 16, 2016
1 parent d3abba9 commit 99df923
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions login.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,13 @@
exit;
}

// Start with a clean slate
$errors = array();

if (isset($_POST['form_sent']))
{
flux_hook('forget_password_before_validation');

// Start with a clean slate
$errors = array();

require PUN_ROOT.'include/email.php';

// Validate the email address
Expand Down

0 comments on commit 99df923

Please sign in to comment.