|
@@ -686,9 +686,6 @@ function registerMember(&$regOptions, $return_errors = false)
|
|
|
foreach ($regOptions['theme_vars'] as $var => $value)
|
|
|
$theme_vars[$var] = $value;
|
|
|
|
|
|
- // Call an optional function to validate the users' input.
|
|
|
- call_integration_hook('integrate_register', array(&$regOptions, &$theme_vars));
|
|
|
-
|
|
|
// Right, now let's prepare for insertion.
|
|
|
$knownInts = array(
|
|
|
'date_registered', 'posts', 'id_group', 'last_login', 'instant_messages', 'unread_messages',
|
|
@@ -700,6 +697,9 @@ function registerMember(&$regOptions, $return_errors = false)
|
|
|
'time_offset',
|
|
|
);
|
|
|
|
|
|
+ // Call an optional function to validate the users' input.
|
|
|
+ call_integration_hook('integrate_register', array(&$regOptions, &$theme_vars, &$knownInts, &$knownFloats));
|
|
|
+
|
|
|
$column_names = array();
|
|
|
$values = array();
|
|
|
foreach ($regOptions['register_vars'] as $var => $val)
|