mirror of
https://github.com/hnhx/librex.git
synced 2025-01-10 03:37:25 -03:00
PHP error
when I save settings I get "Undefined variable: '$name' in /var/www/html/settings.php on line 26" message I think that the correct variable name shall be $key
This commit is contained in:
parent
689d31025e
commit
4271c9f635
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@
|
|||
if (!empty($value))
|
||||
{
|
||||
setcookie($key, $value, time() + (86400 * 90), '/');
|
||||
$_COOKIE[$name] = $value;
|
||||
$_COOKIE[$key] = $value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue