File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 328328 if (!empty ($ isnew ) && $ approved && !empty ($ GLOBALS ['xoopsModuleConfig ' ]['notification_enabled ' ])) {
329329 $ tags = [];
330330 $ tags ['THREAD_NAME ' ] = Request::getString ('subject ' , '' , 'POST ' );
331- $ tags ['THREAD_URL ' ] = XOOPS_URL . '/modules/ ' . $ xoopsModule ->getVar ('dirname ' , 'n ' ) . '/viewtopic.php?post_id = ' . $ postid ;
332- $ tags ['POST_URL ' ] = $ tags [ ' THREAD_URL ' ]; // . '#forumpost' . $postid;
331+ $ tags ['THREAD_URL ' ] = XOOPS_URL . '/modules/ ' . $ xoopsModule ->getVar ('dirname ' , 'n ' ) . '/viewtopic.php?topic_id = ' . $ topicObject -> getVar ( ' topic_id ' ) ;
332+ $ tags ['POST_URL ' ] = XOOPS_URL . ' /modules/ ' . $ xoopsModule -> getVar ( ' dirname ' , ' n ' ) . ' /viewtopic.php?post_id= ' . $ postid . '#forumpost ' . $ postid ;
333333 require_once __DIR__ . '/include/notification.inc.php ' ;
334334 $ forum_info = newbb_notify_iteminfo ('forum ' , $ forumObject ->getVar ('forum_id ' ));
335335 $ tags ['FORUM_NAME ' ] = $ forum_info ['name ' ];
You can’t perform that action at this time.
0 commit comments