Navigation Menu

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 committed Jan 28, 2015
1 parent 608b022 commit 82d19bd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions login.php
Expand Up @@ -124,13 +124,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 82d19bd

Please sign in to comment.