Merge pull request #6402 from laudeco/bugfix/er_fix_access_to_note

[FIX] Expense report, fix access to notes from list
This commit is contained in:
Laurent Destailleur 2017-02-08 19:25:27 +01:00 committed by GitHub
commit 8ba544fba5

View File

@ -543,7 +543,7 @@ if ($resql)
if (!empty($obj->note_private) || !empty($obj->note_public))
{
print ' <span class="note">';
print '<a href="'.DOL_URL_ROOT.'/commande/note.php?id='.$obj->rowid.'">'.img_picto($langs->trans("ViewPrivateNote"),'object_generic').'</a>';
print '<a href="'.DOL_URL_ROOT.'/expensereport/note.php?id='.$obj->rowid.'">'.img_picto($langs->trans("ViewPrivateNote"),'object_generic').'</a>';
print '</span>';
}
print '</td>';