Skip to content

Commit

Permalink
Fix adding contacts with a category selected.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Apr 21, 2011
1 parent 23c60e6 commit dc3a1bc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion turba/docs/CHANGES
Expand Up @@ -2,7 +2,7 @@
v3.0.2-git
----------


[mjr] Fix adding contacts with a category selected.

------
v3.0.1
Expand Down
4 changes: 2 additions & 2 deletions turba/lib/Driver.php
Expand Up @@ -184,8 +184,8 @@ public function toDriverKeys(array $hash)
$cManager = new Horde_Prefs_CategoryManager();
$cManager->add($hash['category']['value']);
$hash['category'] = $hash['category']['value'];
} else {
$hash['category'] = $hash['category'];
} elseif (is_array($hash['category'])) {
$hash['category'] = $hash['category']['value'];
}
}

Expand Down
4 changes: 2 additions & 2 deletions turba/package.xml
Expand Up @@ -40,7 +40,7 @@
</stability>
<license uri="http://www.horde.org/licenses/asl">ASL</license>
<notes>
*
* [mjr] Fix adding contacts with a category selected.
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -1164,7 +1164,7 @@
<date>2011-04-20</date>
<license uri="http://www.horde.org/licenses/asl">ASL</license>
<notes>
*
*
</notes>
</release>
</changelog>
Expand Down

0 comments on commit dc3a1bc

Please sign in to comment.