1
0
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:
Cameron
2016-04-22 09:01:18 -07:00
parent 6b37c95b74
commit 699257e3c3
2 changed files with 2 additions and 1 deletions

View File

@@ -3792,7 +3792,7 @@ $text .= "
// ------- Customize Create --------
public function beforeCreate(\$new_data)
public function beforeCreate(\$new_data,\$old_data)
{
return \$new_data;
}

View File

@@ -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);
}