HESK v3.2.5

This commit is contained in:
Luke Tainton
2022-04-23 17:18:38 +01:00
parent f7cfa565b1
commit 177f99d0ef
136 changed files with 463 additions and 345 deletions

View File

@@ -72,7 +72,7 @@ function hesk_load_custom_fields($category=0, $use_cache=1)
$row['name:'] = in_array(substr($row['name'], -1), array(':', '?', '!', '.') ) ? $row['name'] : $row['name'] . ':';
// Decode categories
$row['category'] = strlen($row['category']) ? json_decode($row['category'], true) : array();
$row['category'] = !empty($row['category']) ? json_decode($row['category'], true) : array();
// Decode options
$row['value'] = json_decode($row['value'], true);