Fixed a bug caused by a missing semicolon (thanks to lessev).
This commit is contained in:
parent
e082531025
commit
6a3ea0bc93
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue