Refresh page to show changes when user selects a different color

This commit is contained in:
2026-02-24 09:50:59 -05:00
parent b201ac6d24
commit 8647c9b4d8

View File

@@ -116,6 +116,8 @@ if (!$print) {
// color settings // color settings
$hexcolor = "#" . ltrim($hexcolor); $hexcolor = "#" . ltrim($hexcolor);
putsetting($modcolor, $hexcolor, $techid); putsetting($modcolor, $hexcolor, $techid);
$currentpage = $_SERVER['PHP_SELF'];
header("Refresh: .1; url=$currentpage");
} }
if ($resetcustom) mysqli_query($db, "delete from customs where customtech=\"$techid\""); if ($resetcustom) mysqli_query($db, "delete from customs where customtech=\"$techid\"");