projects
/
WP-Plugins
/
glm-member-db-events.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aed3d7e
)
Update to get member_id
author
Steve Sutton
<steve@gaslightmedia.com>
Mon, 5 Dec 2016 20:34:24 +0000
(15:34 -0500)
committer
Steve Sutton
<steve@gaslightmedia.com>
Mon, 5 Dec 2016 20:34:24 +0000
(15:34 -0500)
Needed for email notification
models/admin/events/list.php
patch
|
blob
|
history
diff --git
a/models/admin/events/list.php
b/models/admin/events/list.php
index
3221e63
..
049ca9e
100644
(file)
--- a/
models/admin/events/list.php
+++ b/
models/admin/events/list.php
@@
-413,7
+413,9
@@
class GlmMembersAdmin_events_list extends GlmDataEvents
$notification->sendMemberNotice( $member_id, $event );
}
} else if ( $lockedToMember && $old_event_status == 10 && $new_status == 20 ) {
- $notification->sendAdminNotice( $member_id, $event );
+ if ( isset( $_REQUEST['ref_dest'] ) && $member_id = filter_var( $_REQUEST['ref_dest'] ) ) {
+ $notification->sendAdminNotice( $member_id, $event );
+ }
}
}