Skip to content

Commit

Permalink
Correctly fix Bug #13352
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jul 20, 2014
1 parent c438238 commit e7bdcd9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions mnemo/list.php
Expand Up @@ -86,7 +86,6 @@
'width' => '2%',
'label' => Horde::widget(array('url' => $baseurl->add('sortby', Mnemo::SORT_NOTEPAD), 'class' => 'sortlink', 'title' => _("Notepad"))),
);
$memo['notepad'] = Mnemo::getLabel($share);
}
$view->headers[] = array(
'id' => 's' . MNEMO::SORT_DESC,
Expand Down Expand Up @@ -116,7 +115,9 @@
$notification->push($e);
continue;
}

if ($view->showNotepad) {
$memo['notepad'] = Mnemo::getLabel($share);
}
if ($share->hasPermission($registry->getAuth(), Horde_Perms::EDIT)) {
$label = sprintf(_("Edit \"%s\""), $memo['desc']);
$memo['edit'] = Horde::url('memo.php')
Expand Down

0 comments on commit e7bdcd9

Please sign in to comment.