Added is_object()
This commit is contained in:
@@ -395,7 +395,7 @@ class propelTable
|
||||
if(is_object($value)){
|
||||
$value = '';
|
||||
}
|
||||
$this->tpl->assign( "value" , (eregi('^[[:space:]]', $value) && (substr($fieldName,0,3)!="PRO"))? str_ireplace(" "," ",$htmlField):$htmlField );
|
||||
$this->tpl->assign( "value" , (preg_match('^[[:space:]]^', $value) && (substr($fieldName,0,3)!="PRO"))? str_ireplace(" "," ",$htmlField):$htmlField );
|
||||
}
|
||||
return $this->fields[$r]['Type'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user