1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-23 22:53:01 +02:00

Installation fix.

This commit is contained in:
Cameron
2020-12-26 08:02:34 -08:00
parent c0736df559
commit 7989ebfc72
4 changed files with 14 additions and 10 deletions

View File

@@ -988,7 +988,9 @@ class validatorClass
// ...one and aren't otherwise defined.
public static function validateFields(&$sourceFields, &$definitions, $addDefaults = FALSE)
{
global $tp, $pref;
$tp = e107::getParser();
$pref = e107::getPref();
$ret = array('data' => array(), 'failed' => array(), 'errors' => array());
foreach ($definitions as $dest => $defs)