Fixed missing member name when adding an event under a member.
authorChuck Scott <cscott@gaslightmedia.com>
Mon, 16 May 2016 13:25:06 +0000 (09:25 -0400)
committerChuck Scott <cscott@gaslightmedia.com>
Mon, 16 May 2016 13:25:06 +0000 (09:25 -0400)
models/admin/events/list.php
views/admin/events/editStatus.html

index 8ebd691..d35b0fa 100644 (file)
@@ -215,7 +215,7 @@ class GlmMembersAdmin_events_list extends GlmDataEvents
         switch ($option) {
 
             case 'add':
-
+echo "Member name = $memberName<P>";
                 $event = $this->newEntry();
 
                 $view = 'edit';
index 9f7a046..fd2a9d6 100644 (file)
@@ -15,6 +15,7 @@
         {if $haveMember}
                 {$memberData.member_name}
                 <input type="hidden" name="ref_dest_id" value="{$memberData.id}">
+                {$memberData.name}
         {else}
                 <select id="memberSelect" name="ref_dest">
     {foreach $event.fieldData.ref_dest.list as $v}