Skip to content

Commit

Permalink
Don't double decode attribute.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jun 29, 2017
1 parent 29fe581 commit 808ee49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Driver/Sql.php
Expand Up @@ -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'];
}

Expand Down

0 comments on commit 808ee49

Please sign in to comment.