diff --git a/module/chart/control.php b/module/chart/control.php index 89803baf81..086af795ac 100644 --- a/module/chart/control.php +++ b/module/chart/control.php @@ -182,6 +182,7 @@ class chart extends control $sql = str_replace(';', '', "$post->sql"); $fields = $post->fieldSettings; $langs = !empty($post->langs) ? $post->langs : array(); + if(is_string($langs)) $langs = json_decode($langs, true); switch($type) {