From 532cdf4bb82ab7cc6fa7659d9aec3ce122b2ec52 Mon Sep 17 00:00:00 2001 From: vincent-peugnet Date: Sat, 22 Dec 2018 19:33:10 +0100 Subject: bug fix : medi preg match --- app/class/controllerart.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'app/class/controllerart.php') diff --git a/app/class/controllerart.php b/app/class/controllerart.php index 8511243..7bc8c23 100644 --- a/app/class/controllerart.php +++ b/app/class/controllerart.php @@ -202,6 +202,13 @@ class Controllerart extends Controller $_SESSION['workspace']['showrightpanel'] = isset($_POST['workspace']['showrightpanel']); $_SESSION['workspace']['showleftpanel'] = isset($_POST['workspace']['showleftpanel']); + if(!empty($_POST['fontsize']) && $_POST['fontsize'] !== Config::fontsize()) { + Config::setfontsize($_POST['fontsize']); + Config::savejson(); + } + + + $date = new DateTimeImmutable($_POST['pdate'] . $_POST['ptime'], new DateTimeZone('Europe/Paris')); $date = ['date' => $date]; -- cgit v1.2.3