From 808ee497b5993a2c0fc5f47d618209e0f232e073 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Thu, 29 Jun 2017 17:30:37 +0200 Subject: [PATCH] Don't double decode attribute. --- lib/Driver/Sql.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Driver/Sql.php b/lib/Driver/Sql.php index e3ae001..9dece73 100644 --- a/lib/Driver/Sql.php +++ b/lib/Driver/Sql.php @@ -1123,7 +1123,7 @@ public function getTicketsByProperties(array $info, $munge = true, $attributes = $this->getTicketAttributesWithNames(array_keys($tickets)); foreach ($attributes as $row) { $attribute_id = 'attribute_' . $row['attribute_id']; - $tickets[$row['id']][$attribute_id] = $this->_json_decode($row['attribute_value']); + $tickets[$row['id']][$attribute_id] = $row['attribute_value']; $tickets[$row['id']][$attribute_id . '_name'] = $row['attribute_name']; }