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:
@@ -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);
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user