From f70266d669b58008ce92f6fc3eb814dc904c0dc8 Mon Sep 17 00:00:00 2001 From: Matthew Vale Date: Tue, 3 Nov 2015 14:34:29 +0000 Subject: [PATCH] bugfix when retrieving region --- app/time_conditions/time_condition_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/time_conditions/time_condition_edit.php b/app/time_conditions/time_condition_edit.php index 96a6e8d019..f3e70b9f77 100644 --- a/app/time_conditions/time_condition_edit.php +++ b/app/time_conditions/time_condition_edit.php @@ -44,7 +44,7 @@ require_once "resources/header.php"; $destination = new destinations; //load available presets - $preset_region = "preset_".$_SESSION['time_conditions']['region']; + $preset_region = "preset_".$_SESSION['time_conditions']['region']['text']; foreach ($_SESSION['time_conditions'][$preset_region] as $json) { $available_presets[] = json_decode($json, true); }