Skip to content

Commit

Permalink
Bug: 14463 Fix regression in saving tags.
Browse files Browse the repository at this point in the history
Regression the result of the fix for Bug 14046 - the bug
that keeps on giving, and giving...
  • Loading branch information
mrubinsk committed Sep 15, 2016
1 parent 9d9cdc6 commit 6c2db6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion turba/lib/Object.php
Expand Up @@ -196,7 +196,7 @@ public function setValue($attribute, $value)

// If we don't know the attribute, and it's an email field, save it
// in case we need to populate an email field on save.
if (!isset($this->driver->map[$attribute])) {
if (!isset($this->driver->map[$attribute]) && $attribute != '__tags') {
if (isset($attributes[$attribute]) &&
$attributes[$attribute]['type'] == 'email') {
$this->_emailFields[$attribute] = $value;
Expand Down

0 comments on commit 6c2db6a

Please sign in to comment.