exit for loop when matching token for slight performance increase (#7092)
Co-authored-by: Tim Fry <tim@fusionpbx.com>
This commit is contained in:
parent
e57053a3f3
commit
d7035fecaa
|
|
@ -86,6 +86,7 @@ class token {
|
|||
$token_name = $token['name'];
|
||||
if (isset($_REQUEST[$token_name])) {
|
||||
$value = $_REQUEST[$token_name];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue