BUG 7104 Fix Bug empty button in plugin Enterprise Edition.
This commit is contained in:
@@ -400,7 +400,7 @@ class propelTable
|
|||||||
$testValue = preg_match( "/<a ?.*>(.*)<\/a>/i", $htmlField, $value);
|
$testValue = preg_match( "/<a ?.*>(.*)<\/a>/i", $htmlField, $value);
|
||||||
$this->tpl->assign( "value" , $htmlField );
|
$this->tpl->assign( "value" , $htmlField );
|
||||||
if ($testValue>0 && (isset($value[1]) && strlen(trim($value[1])) == 0 )) {
|
if ($testValue>0 && (isset($value[1]) && strlen(trim($value[1])) == 0 )) {
|
||||||
if ((trim($value[0])) == '')
|
if ((trim($value[0])) == '' || trim($value[1]) == '')
|
||||||
$this->tpl->assign( "value" , " " );
|
$this->tpl->assign( "value" , " " );
|
||||||
// $this->tpl->assign( "value" , (preg_match('^[[: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 );
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user