mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 21:27:25 +02:00
Forum triggerData fix.
This commit is contained in:
@@ -3792,7 +3792,7 @@ $text .= "
|
||||
|
||||
// ------- Customize Create --------
|
||||
|
||||
public function beforeCreate(\$new_data)
|
||||
public function beforeCreate(\$new_data,\$old_data)
|
||||
{
|
||||
return \$new_data;
|
||||
}
|
||||
|
@@ -758,6 +758,7 @@ class e107forum
|
||||
e107::getMessage()->addDebug("Updating Thread with: ".print_a($info,true));
|
||||
|
||||
$triggerData = $info['data'];
|
||||
$triggerData['thread_id'] = $postInfo['post_thread'];
|
||||
e107::getEvent()->trigger('user_forum_topic_updated', $triggerData);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user