1
0
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:
Cameron
2015-04-23 20:32:09 -07:00
parent d60a5edeab
commit 58024bc6d5

View File

@@ -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
{