From c3d764343c54c37b9fe60ca52926ae3f6b4fd039 Mon Sep 17 00:00:00 2001 From: Bartek Fabiszewski Date: Mon, 6 Jul 2020 09:30:50 +0200 Subject: [PATCH] Fix config colors not saved, closes #127 --- utils/saveconfig.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/utils/saveconfig.php b/utils/saveconfig.php index e794390..c5c1d3d 100644 --- a/utils/saveconfig.php +++ b/utils/saveconfig.php @@ -43,11 +43,11 @@ $data = [ 'stroke_weight' => uUtils::postInt('strokeWeight'), 'stroke_color' => uUtils::postString('strokeColor'), 'stroke_opacity' => uUtils::postFloat('strokeOpacity'), - 'color_normal' => uUtils::postInt('colorNormal'), - 'color_start' => uUtils::postInt('colorStart'), - 'color_stop' => uUtils::postInt('colorStop'), - 'color_extra' => uUtils::postInt('colorExtra'), - 'color_hilite' => uUtils::postInt('colorHilite'), + 'color_normal' => uUtils::postString('colorNormal'), + 'color_start' => uUtils::postString('colorStart'), + 'color_stop' => uUtils::postString('colorStop'), + 'color_extra' => uUtils::postString('colorExtra'), + 'color_hilite' => uUtils::postString('colorHilite'), 'upload_maxsize' => uUtils::postInt('uploadMaxSize') ];