PluginProbe
wpForo Forum / 3.1.6
wpForo Forum v3.1.6
3.1.6 3.1.5 3.1.4 3.1.2 3.1.1 3.1.0 3.0.9 3.0.8 3.0.7 trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.1.1 1.1.2 1.2.0 1.3.0 1.3.1 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 All 138 releases
← All changes | modules/follows/classes/Actions.php +2 -2 3.0.73.1.6 View file →
@@ -66,9 +66,9 @@
66 66 if( wpforo_is_users_same( $user ) ) continue;
67 67 if( ! WPF()->topic->view_access( $topic, $user ) ) continue;
68 68
69 69 $sbj_msg = WPF()->sbscrb->get_sbj_msg( 'user_follow', $forum, $topic, $owner, $user, $follow['unfollow_link'] );
70 - wpforo_send_email( $user['user_email'], $sbj_msg['sbj'], $sbj_msg['msg'] );
70 + wpforo_send_email( $user['user_email'], $sbj_msg['sbj'], $sbj_msg['msg'], '', 'follow', (int) $topic['topicid'] );
71 71
72 72 WPF()->ram_cache->set( $key, true );
73 73 }
74 74 }
@@ -96,9 +96,9 @@
96 96 if( wpforo_is_users_same( $user ) ) continue;
97 97 if( ! WPF()->post->view_access( $post, $user ) ) continue;
98 98
99 99 $sbj_msg = WPF()->sbscrb->get_sbj_msg( 'user_follow', $topic, $post, $owner, $user, $follow['unfollow_link'] );
100 - wpforo_send_email( $user['user_email'], $sbj_msg['sbj'], $sbj_msg['msg'] );
100 + wpforo_send_email( $user['user_email'], $sbj_msg['sbj'], $sbj_msg['msg'], '', 'follow', (int) $post['postid'] );
101 101
102 102 WPF()->ram_cache->set( $key, true );
103 103 }
104 104 }