Version 4.7.8
This commit is contained in:
1 parent
7b7404e741
commit
fd22d99e69
688 files changed
+19814
-10890
No files matched your search
@@ -4873,6 +4873,11 @@ class _Core extends \IPS\convert\Library
|
||||
return $this->cachedFields[ $fieldId ];
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Store of field IDs to skip formatting
|
||||
*/
|
||||
protected $_skipFields = [];
|
||||
|
||||
/**
|
||||
* Format Member Profile Field Content
|
||||
*
|
||||
@@ -4896,6 +4901,11 @@ class _Core extends \IPS\convert\Library
|
||||
{
|
||||
$id = $key;
|
||||
}
|
||||
|
||||
if( \in_array( $id, $this->_skipFields ) )
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
try
|
||||
{
|
||||
@@ -4904,14 +4914,10 @@ class _Core extends \IPS\convert\Library
|
||||
/* Make sure the field itself was not removed. */
|
||||
$field = $this->_getField( $link );
|
||||
}
|
||||
catch( \OutOfRangeException $e )
|
||||
catch( \OutOfRangeException | \UnderflowException $e )
|
||||
{
|
||||
/* Link does not exist so we cannot map */
|
||||
continue;
|
||||
}
|
||||
catch( \UnderflowException $e )
|
||||
{
|
||||
/* Field does not exist */
|
||||
$this->_skipFields[] = $id;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user