1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

PHP8 fix - signup array_merge() on null error.

This commit is contained in:
Cameron
2020-12-27 11:34:05 -08:00
parent 026415b476
commit f93ce247fd

View File

@@ -503,7 +503,7 @@ if (isset($_POST['register']) && intval($pref['user_reg']) === 1)
}
e107::getEvent()->trigger('usersup', $_POST); // Old trigger - send everything in the template, including extended fields.
e107::getEvent()->trigger('userpartial', array_merge($allData['data'],$eufVals['data'])); // New trigger - send everything in the template, including extended fields.
e107::getEvent()->trigger('userpartial', array_merge($allData['data'], (array) $eufVals['data'])); // New trigger - send everything in the template, including extended fields.
e107::getEvent()->trigger('user_signup_submitted', $_POST);