Skip to content

Commit

Permalink
2.0.8-r1 - Fix an incorrect global variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Naguissa committed Mar 15, 2018
1 parent cb411b3 commit f315cba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mbqClass/lib/read/MbqRdEtForumPost.php
Original file line number Diff line number Diff line change
Expand Up @@ -439,9 +439,9 @@ public function getObjsMbqEtForumPost($var, $mbqOpt) {
* @return Mixed
*/
public function initOMbqEtForumPost($var, $mbqOpt) {
global $db, $auth, $user, $config, $template, $cache, $phpEx, $phpbb_root_path, $phpbb_home, $topic_data;
global $db, $auth, $user, $config, $template, $cache, $phpEx, $phpbb_root_path, $phpbb_home, $topic_data, $support_post_thanks;
if($mbqOpt['case'] == 'byPostId') {
global $request, $template, $user, $auth, $phpbb_home, $config, $attachment_by_id, $forum_id, $topic_id, $support_post_thanks, $topic_data, $total_posts, $can_subscribe, $post_data;
global $request, $template, $user, $auth, $phpbb_home, $config, $attachment_by_id, $forum_id, $topic_id, $topic_data, $total_posts, $can_subscribe, $post_data;
$topic_data = null;
$post_data = null;
$postId = $var;
Expand Down

0 comments on commit f315cba

Please sign in to comment.