Version 4.7.0
This commit is contained in:
1 parent
517a5e1f70
commit
8ba7d43898
1933 files changed
+65613
-11332
No files matched your search
@@ -102,7 +102,7 @@ class _Recognize extends \IPS\Patterns\ActiveRecord
|
||||
$member->awardPoints( $points, 0, [], ['subject'], $recognize->id );
|
||||
}
|
||||
|
||||
$notification = new \IPS\Notification( \IPS\Application::load( 'core' ), 'new_recognize', $member, [ $recognize ], [ $recognize->id ] );
|
||||
$notification = new \IPS\Notification( \IPS\Application::load( 'core' ), 'new_recognize', $member, [ $member, $recognize ], [ $recognize->id ] );
|
||||
$notification->recipients->attach( $member );
|
||||
$notification->send();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user