1
0
Fork 0
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:
Babichev Igor 2012-07-07 23:37:51 +06:00
parent 5b8f6639c9
commit ad48721b13

View file

@ -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;