Fixing style errors.

This commit is contained in:
stickler-ci 2020-02-22 15:45:39 +00:00
parent e209fd2973
commit 2b027cfebf

View File

@ -1115,7 +1115,7 @@ abstract class CommonDocGenerator
// Cleanup extrafield key to remove prefix if present
$pos = strpos($extrafieldKey, $extrafieldsKeyPrefix);
if($pos===0){
$extrafieldKey = substr($extrafieldKey, strlen ( $extrafieldsKeyPrefix));
$extrafieldKey = substr($extrafieldKey, strlen($extrafieldsKeyPrefix));
}
$extrafieldOptionsKey = $extrafieldsKeyPrefix.$extrafieldKey;
@ -1300,7 +1300,6 @@ abstract class CommonDocGenerator
if (is_array($extrafields->attributes[$object->table_element]['label'])) {
// For cache on lines loop
if(!isset($this->extrafieldsCache)){ $this->extrafieldsCache = array(); }
$this->extrafieldsCache[$object->table_element] = $extrafields;