fix customer notes and attachments wrt s/otaker/usernum/ changes; still need to look...
[freeside.git] / httemplate / view / cust_main / notes.html
index f8a6a25..74d3f60 100755 (executable)
@@ -50,7 +50,7 @@
     <TR>
       <% note_datestr($note,$conf,$bgcolor) %>
       <TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
-        &nbsp;<% $note->otaker%>
+        &nbsp;<% $note->usernum ? $note->access_user->name : $note->otaker %>
       </TD>
       <TD CLASS="grid" BGCOLOR="<% $bgcolor %>">
         &nbsp;<% $note->comments | defang %>