Fixed a bug causing settings page to stop working after saving once.

This commit is contained in:
Michele 2023-08-09 15:27:54 +02:00
parent b5a9f12df9
commit 0738ecab20
1 changed files with 3 additions and 0 deletions

View File

@ -19,6 +19,9 @@
{
foreach($_POST as $key=>$value)
{
if ($key === "save")
continue;
if (!empty($value))
{
setcookie($key, $value, time() + (86400 * 90), '/');