diff options
Diffstat (limited to 'lib/models/AuxLockRule.php')
| -rw-r--r-- | lib/models/AuxLockRule.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/models/AuxLockRule.php b/lib/models/AuxLockRule.php index abd3327..f5ebfac 100644 --- a/lib/models/AuxLockRule.php +++ b/lib/models/AuxLockRule.php @@ -164,7 +164,7 @@ class AuxLockRule extends SimpleORMap foreach ($this->datafields as $field => $useless_value_pls_refactor) { // if standard get it from the mapping else get it from the datafield - if ($mapping[$field]) { + if (!empty($mapping[$field])) { $result['head'][$field] = $head_mapping[$field]; $new[$field] = htmlReady($mapping[$field]); } else { |
