Index: branches/5.0.x/core/units/users/users_event_handler.php =================================================================== diff -u -r12346 -r12352 --- branches/5.0.x/core/units/users/users_event_handler.php (.../users_event_handler.php) (revision 12346) +++ branches/5.0.x/core/units/users/users_event_handler.php (.../users_event_handler.php) (revision 12352) @@ -1,6 +1,6 @@ Conn->Query( sprintf($sql, $user_id, $group_id) ); - $this->Application->EmailEventAdmin('USER.SUBSCRIBE', $user_id); + $this->Application->EmailEventAdmin('USER.SUBSCRIBE'); $this->Application->EmailEventUser('USER.SUBSCRIBE', $user_id); } @@ -943,7 +943,7 @@ AND GroupId = ' . $this->Application->ConfigValue('User_SubscriberGroup'); $this->Conn->Query($sql); - $this->Application->EmailEventAdmin('USER.UNSUBSCRIBE', $user_id); + $this->Application->EmailEventAdmin('USER.UNSUBSCRIBE'); $this->Application->EmailEventUser('USER.UNSUBSCRIBE', $user_id); }