1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

quick fixed sql strict error (adduser action)

This commit is contained in:
secretr
2009-04-27 10:42:14 +00:00
parent 67809717cc
commit e0ee6c455e

View File

@@ -9,9 +9,9 @@
* Administration Area - Users
*
* $Source: /cvs_backup/e107_0.8/e107_admin/users.php,v $
* $Revision: 1.32 $
* $Date: 2009-02-09 22:23:44 $
* $Author: e107steved $
* $Revision: 1.33 $
* $Date: 2009-04-27 10:42:14 $
* $Author: secretr $
*
*/
require_once('../class2.php');
@@ -284,6 +284,8 @@ if (isset($_POST['adduser']))
}
$userMethods->addNonDefaulted($user_data);
validatorClass::addFieldTypes($userMethods->userVettingInfo,$allData);
//FIXME - (SecretR) there is a better way to fix this (missing default value, sql error in strict mod)
$allData['data']['user_realm'] = '';
if ($sql -> db_Insert('user', $allData))
{
// Add to admin log