Fixed a bug causing settings page to stop working after saving once.
This commit is contained in:
parent
b5a9f12df9
commit
0738ecab20
|
@ -19,6 +19,9 @@
|
|||
{
|
||||
foreach($_POST as $key=>$value)
|
||||
{
|
||||
if ($key === "save")
|
||||
continue;
|
||||
|
||||
if (!empty($value))
|
||||
{
|
||||
setcookie($key, $value, time() + (86400 * 90), '/');
|
||||
|
|
Loading…
Reference in New Issue