1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 14:46:56 +02:00

Update db access - change admin password

This commit is contained in:
e107steved
2009-01-11 22:11:19 +00:00
parent 540146be8f
commit 70a2b51da7
4 changed files with 36 additions and 15 deletions

View File

@@ -9,8 +9,8 @@
* Handler - general purpose validation functions
*
* $Source: /cvs_backup/e107_0.8/e107_handlers/validator_class.php,v $
* $Revision: 1.5 $
* $Date: 2009-01-11 21:06:46 $
* $Revision: 1.6 $
* $Date: 2009-01-11 22:11:19 $
* $Author: e107steved $
*
*/
@@ -397,7 +397,7 @@ class validatorClass
// Adds the _FIELD_TYPES array to the data, ready for saving in the DB.
// $fieldList is the standard definition array
function addFieldTypes($fieldList, &$target)
function addFieldTypes($fieldList, &$target, $auxList=FALSE)
{
$target['_FIELD_TYPES'] = array(); // We should always want to recreate the array, even if it exists
foreach ($target['data'] as $k => $v)
@@ -406,6 +406,10 @@ class validatorClass
{
$target['_FIELD_TYPES'][$k] = $fieldList[$k]['fieldType'];
}
elseif (is_array($auxList) && isset($auxList[$k]))
{
$target['_FIELD_TYPES'][$k] = $auxList[$k];
}
}
}