Update controller.php
This commit is contained in:
parent
29df463dc1
commit
08eb6b8f77
|
@ -55,7 +55,7 @@ class RedirectToRandomAddressController {
|
|||
}
|
||||
|
||||
public static function invoke(ImapClient $imapClient, array $config) {
|
||||
$address = User::get_random_address($config{'domains'});
|
||||
$address = User::get_random_address($config['domains']);
|
||||
RedirectToAddressController::render($address);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue