mirror of
https://github.com/Oreolek/ifhub.club.git
synced 2024-07-02 22:45:02 +03:00
fix $value
This commit is contained in:
parent
5b8f6639c9
commit
ad48721b13
2
engine/lib/external/kcaptcha/index.php
vendored
2
engine/lib/external/kcaptcha/index.php
vendored
|
@ -33,7 +33,7 @@ if(isset($_REQUEST[session_name()])){
|
|||
}
|
||||
|
||||
foreach ($_REQUEST as $key => $value) {
|
||||
if (preg_match("/^[\w\d]{5,40}$/",$value)) {
|
||||
if (preg_match("/^[\w\d]{5,40}$/",(string)$value)) {
|
||||
session_name($key);
|
||||
session_start();
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue