siddhartha-gupta / SMF-Likes

Like posts/messages for SMF/Elkarte
Other
4 stars 10 forks source link

admin settings, critical bug #52

Open InterVi opened 7 years ago

InterVi commented 7 years ago

Not working permissions page. Easy fix: LikePostsRouter, line 91

//wakey wakey, call the func you lazy if (isset($_REQUEST['sa']) && isset($subActions[$_REQUEST['sa']]) && method_exists(LikePosts::$LikePostsAdmin, $subActions[$_REQUEST['sa']])) { $funcName = $subActions[$_REQUEST['sa']]; //fix critical bug return LikePosts::$LikePostsAdmin->$funcName(); }