mirror of
https://github.com/e107inc/e107.git
synced 2025-07-29 19:00:26 +02:00
Update import_user_class.php
This commit is contained in:
@@ -238,13 +238,13 @@ class user_import
|
|||||||
function getErrorText($errnum) // these errors are presumptuous and misleading. especially '4' .
|
function getErrorText($errnum) // these errors are presumptuous and misleading. especially '4' .
|
||||||
{
|
{
|
||||||
$errorTexts = array(
|
$errorTexts = array(
|
||||||
0 => 'No error',
|
0 => LAN_CONVERT_57,
|
||||||
1 => 'Can\'t change main admin data',
|
+ 1 => LAN_CONVERT_58,
|
||||||
2 => 'invalid field passed',
|
+ 2 => LAN_CONVERT_59,
|
||||||
3 => 'Mandatory field not set',
|
+ 3 => LAN_CONVERT_60,
|
||||||
4 => 'User already exists',
|
+ 4 => LAN_CONVERT_61,
|
||||||
5 => 'Invalid characters in user or login name',
|
+ 5 => LAN_CONVERT_62,
|
||||||
6 => 'Error saving extended user fields'
|
+ 6 => LAN_CONVERT_63
|
||||||
);
|
);
|
||||||
|
|
||||||
if (isset($errorTexts[$errnum])) return $errorTexts[$errnum];
|
if (isset($errorTexts[$errnum])) return $errorTexts[$errnum];
|
||||||
@@ -360,4 +360,4 @@ class userclass_import
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
Reference in New Issue
Block a user