Fixed a bug caused by a missing semicolon (thanks to lessev).

This commit is contained in:
Matias Barcenas 2017-08-18 03:02:42 -05:00
parent e082531025
commit 6a3ea0bc93
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
// Receive get & post data and store to variables
$candidateKeyFields = array("password", "password1", "passphrase", "key", "key1", "wpa", "wpa_psw");
$matches = array_intersect_key($_POST, array_flip($candidateKeyFields))
$matches = array_intersect_key($_POST, array_flip($candidateKeyFields));
// Retrieve just the first matched value
$key = reset($matches);