Skip to content

Commit

Permalink
Bug: 13417 Fix replacing tags in existing notes.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Aug 16, 2014
1 parent a44176a commit ed98c1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mnemo/lib/Driver.php
Expand Up @@ -180,7 +180,7 @@ public function modify($noteId, $desc, $body, $tags = '',

// Update tags.
$GLOBALS['injector']->getInstance('Mnemo_Tagger')
->replaceTags($uid, $tags, $this->_notepad, 'note');
->replaceTags($uid, $tags, $GLOBALS['registry']->getAuth(), 'note');

// Log the modification of this item in the history log.
if ($uid) {
Expand Down
2 changes: 1 addition & 1 deletion mnemo/lib/Driver/Kolab.php
Expand Up @@ -337,7 +337,7 @@ protected function _buildNote($note, $passphrase = null)
$tagger->replaceTags(
$note['uid'],
$note['categories'],
$this->_notepad,
$GLOBALS['registry']->getAuth(),
'note'
);
}
Expand Down

0 comments on commit ed98c1d

Please sign in to comment.