Skip to content

Commit

Permalink
Initialize on each iteration.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Jan 18, 2016
1 parent 936aeac commit f379501
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trean/lib/Bookmarks.php
Expand Up @@ -262,6 +262,7 @@ protected function _resultSet($bookmarks)
$tagger = $GLOBALS['injector']->getInstance('Trean_Tagger');
$charset = $GLOBALS['trean_db']->getOption('charset');
foreach ($bookmarks as $bookmark) {
$cvBookmarks = array();
foreach ($bookmark as $key => $value) {
if (!empty($value) && !is_numeric($value)) {
$cvBookmarks[$key] = Horde_String::convertCharset($value, $charset, 'UTF-8');
Expand Down

0 comments on commit f379501

Please sign in to comment.