mirror of
https://github.com/e107inc/e107.git
synced 2025-07-28 10:20:45 +02:00
Disable forum-subject edit when not the original thread/topic creator.
This commit is contained in:
@@ -111,6 +111,10 @@ class plugin_forum_post_shortcodes extends e_shortcode
|
||||
elseif($this->var['action'] == 'edit')
|
||||
{
|
||||
$_POST['subject'] = $this->var['thread_name'];
|
||||
if($this->var['thread_user'] != USERID)
|
||||
{
|
||||
$opts['disabled'] = 1;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user