Skip to content
Snippets Groups Projects
Commit 2d4eb3e6 authored by Peter Rotich's avatar Peter Rotich
Browse files

Notes: Ghost Poster

Account for the possibility of agents being deleted
parent e44368e1
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,8 @@
</div>
<div class="header-right">
<?php
echo $note->getStaff()->getName();
$staff = $note->getStaff();
echo $staff ? $staff->getName() : _('Staff');
if (isset($show_options) && $show_options) { ?>
<div class="options no-pjax">
<a href="#" class="action edit-note" title="edit"><i class="icon-pencil"></i></a>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment