We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8e4097 commit b09303fCopy full SHA for b09303f
2 files changed
Model/FieldDataModel.php
@@ -30,10 +30,10 @@ public function __construct($c)
30
}
31
32
public function getName($field){
33
- if ($GLOBALS["configs"]["CUSTOMIZED_FIELD_NAMES"][$field]){
+ if (!empty($GLOBALS["configs"]["CUSTOMIZED_FIELD_NAMES"][$field])){
34
return $GLOBALS["configs"]["CUSTOMIZED_FIELD_NAMES"][$field];
35
36
- if ($this->defaultNames[$field]){
+ if (!empty($this->defaultNames[$field])){
37
return $this->defaultNames[$field]["name"];
38
39
$splited = explode("::METAMAGIK::", $field);
Template/table_view/meta_magik.php
@@ -1 +1,3 @@
1
-<?= $metadata[$key] ?>
+<?php if (!empty($metadata[$key])): ?>
2
+ <?= $metadata[$key] ?>
3
+<?php endif ?>
0 commit comments