BUG 7898 problem solved with empty users after importing
This commit is contained in:
@@ -397,10 +397,10 @@ class propelTable
|
||||
$value = '';
|
||||
}
|
||||
// checking if the value variable is a html field, a html tag content can't contain as white spaces
|
||||
|
||||
$testValue = preg_match( "/<a ?.*>(.*)<\/a>/i", $htmlField, $value);
|
||||
$this->tpl->assign( "value" , $htmlField );
|
||||
if ($testValue>0 && (isset($value[1]) && strlen(trim($value[1])) == 0 )) {
|
||||
if ((trim($value[0])) == '')
|
||||
$this->tpl->assign( "value" , " " );
|
||||
// $this->tpl->assign( "value" , (preg_match('^[[:space:]]^', $value) && (substr($fieldName,0,3)!="PRO"))? str_ireplace(" "," ",$htmlField):$htmlField );
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user