Permalink
Browse files

Fix oversights#

  • Loading branch information...
flack committed Jan 9, 2018
1 parent b5ca033 commit a6fb767abde1c17c171af9fd85c9217e68cb120c
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/net/nehmer/comments/handler/view.php
  2. +1 −1 lib/org/openpsa/core/queryfilter.php
@@ -112,7 +112,7 @@ private function _load_schemadb()
if ( $this->_config->get('ratings_enable')
&& $this->_schemadb->get('comment')->has_field('rating')) {
$field =& $this->_schemadb->get('comment')->get_field();
$field =& $this->_schemadb->get('comment')->get_field('rating');
$field['hidden'] = false;
}
}
@@ -83,7 +83,7 @@ private function _get_selection($filtername)
&& !$user->delete_parameter("org_openpsa_core_filter", $filter_id)) {
$message_content = sprintf(
$l10n->get('the handed filter for %s could not be set as parameter'),
$l10n->get_string($filtername)
$l10n->get($filtername)
);
midcom::get()->uimessages->add($l10n->get('filter error'), $message_content, 'error');
}

0 comments on commit a6fb767

Please sign in to comment.