1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Update import_user_class.php

This commit is contained in:
Gábor 2017-04-02 10:43:33 +02:00 committed by GitHub
parent 85c18b03b3
commit aeff020e2c

View File

@ -239,12 +239,12 @@ class user_import
{
$errorTexts = array(
0 => LAN_CONVERT_57,
+ 1 => LAN_CONVERT_58,
+ 2 => LAN_CONVERT_59,
+ 3 => LAN_CONVERT_60,
+ 4 => LAN_CONVERT_61,
+ 5 => LAN_CONVERT_62,
+ 6 => LAN_CONVERT_63
1 => LAN_CONVERT_58,
2 => LAN_CONVERT_59,
3 => LAN_CONVERT_60,
4 => LAN_CONVERT_61,
5 => LAN_CONVERT_62,
6 => LAN_CONVERT_63
);
if (isset($errorTexts[$errnum])) return $errorTexts[$errnum];
@ -339,13 +339,13 @@ class userclass_import
function getErrorText($errnum) // these errors are presumptuous and misleading. especially '4' .
{
$errorTexts = array(
0 => 'No error',
1 => 'Can\'t change main admin data',
2 => 'invalid field passed',
3 => 'Mandatory field not set',
4 => 'Entry already exists',
5 => 'Invalid characters in user or login name',
6 => 'Error saving extended user fields'
0 => LAN_CONVERT_57,
1 => LAN_CONVERT_58,
2 => LAN_CONVERT_59,
3 => LAN_CONVERT_60,
4 => LAN_CONVERT_61,
5 => LAN_CONVERT_62,
6 => LAN_CONVERT_63
);
if (isset($errorTexts[$errnum])) return $errorTexts[$errnum];