Project

General

Profile

Bug #18871 ยป bug_8554.diff

Administrator Admin, 2008-05-29 21:23

View differences:

typo3/sysext/install/mod/class.tx_install.php (working copy)
'crdate' => time()
);
$GLOBALS['TYPO3_DB']->exec_INSERTquery('be_users', $insertFields);
$result = $GLOBALS['TYPO3_DB']->exec_INSERTquery('be_users', $insertFields);
$this->isBasicComplete($headCode);
$this->message($headCode,'User created','
Username: <strong>'.htmlspecialchars($username).'</strong><br />
Password: <strong>'.htmlspecialchars($pass).'</strong><br />'
,1,1);
if ($result) {
$this->message($headCode,'User created','
Username: <strong>'.htmlspecialchars($username).'</strong><br />
Password: <strong>'.htmlspecialchars($pass).'</strong><br />',
1,1);
} else {
$this->message($headCode,'User not created','
Error: <strong>'.$GLOBALS['TYPO3_DB']->sql_error().'</strong><br />',
3,1);
}
} else {
$this->message($headCode,'Username not unique!','
The username, <strong>'.htmlspecialchars($username).'</strong>, was not unique.',2,1);
    (1-1/1)