Fixing style errors.
This commit is contained in:
parent
e209fd2973
commit
2b027cfebf
@ -1115,7 +1115,7 @@ abstract class CommonDocGenerator
|
|||||||
// Cleanup extrafield key to remove prefix if present
|
// Cleanup extrafield key to remove prefix if present
|
||||||
$pos = strpos($extrafieldKey, $extrafieldsKeyPrefix);
|
$pos = strpos($extrafieldKey, $extrafieldsKeyPrefix);
|
||||||
if($pos===0){
|
if($pos===0){
|
||||||
$extrafieldKey = substr($extrafieldKey, strlen ( $extrafieldsKeyPrefix));
|
$extrafieldKey = substr($extrafieldKey, strlen($extrafieldsKeyPrefix));
|
||||||
}
|
}
|
||||||
|
|
||||||
$extrafieldOptionsKey = $extrafieldsKeyPrefix.$extrafieldKey;
|
$extrafieldOptionsKey = $extrafieldsKeyPrefix.$extrafieldKey;
|
||||||
@ -1300,7 +1300,6 @@ abstract class CommonDocGenerator
|
|||||||
|
|
||||||
|
|
||||||
if (is_array($extrafields->attributes[$object->table_element]['label'])) {
|
if (is_array($extrafields->attributes[$object->table_element]['label'])) {
|
||||||
|
|
||||||
// For cache on lines loop
|
// For cache on lines loop
|
||||||
if(!isset($this->extrafieldsCache)){ $this->extrafieldsCache = array(); }
|
if(!isset($this->extrafieldsCache)){ $this->extrafieldsCache = array(); }
|
||||||
$this->extrafieldsCache[$object->table_element] = $extrafields;
|
$this->extrafieldsCache[$object->table_element] = $extrafields;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user