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 2f0a617 commit 65e1d75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions trean/lib/Bookmarks.php
Expand Up @@ -240,6 +240,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 65e1d75

Please sign in to comment.