Skip to content

Commit

Permalink
Errata (NOJIRA)
Browse files Browse the repository at this point in the history
  • Loading branch information
Benn Oshrin committed Sep 30, 2021
1 parent b1fb687 commit b509fed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions app/src/Model/Table/AttributesTable.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ public function validationDefault(Validator $validator): Validator {
'content',
[ 'rule' => 'isInteger' ]
);
$validator->allowEmpty('attribute_group_id');
$validator->allowEmptyString('attribute_group_id');

$validator->add(
'alphanumeric',
Expand Down Expand Up @@ -202,7 +202,7 @@ public function validationDefault(Validator $validator): Validator {
'content',
[ 'rule' => 'isInteger' ]
);
$validator->allowEmpty('attribute_map_id');
$validator->allowEmptyString('attribute_map_id');

return $validator;
}
Expand Down
4 changes: 2 additions & 2 deletions app/templates/element/search.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@
?>
<button class="top-search-active-filter deletebutton spin" type="button" aria-controls="<?php print $aria_controls; ?>" title="<?= __('match.op.clear.filters',[1]);?>">
<span class="top-search-active-filter-title">
<?= print $vv_searchable_attributes[$key]['label']; ?>
<?= $vv_searchable_attributes[$key]['label']; ?>
</span>
<span class="top-search-active-filter-value">
<?= print filter_var($search_params[$key], FILTER_SANITIZE_SPECIAL_CHARS); ?>
<?= filter_var($search_params[$key], FILTER_SANITIZE_SPECIAL_CHARS); ?>
</span>
</button>
<?php endforeach; ?>
Expand Down

0 comments on commit b509fed

Please sign in to comment.