Skip to content

Commit

Permalink
Block exceptions are not displayed.
Browse files Browse the repository at this point in the history
  • Loading branch information
yunosh committed Aug 9, 2016
1 parent 9861db8 commit 90e4d6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion horde/lib/Block/Metar.php
Expand Up @@ -99,7 +99,7 @@ protected function _content()
static $metarLocs;

if (empty($this->_params['location'])) {
throw new Horde_Exception(_("No location is set."));
return _("No location is set.");
}

if (!is_array($metarLocs)) {
Expand Down

0 comments on commit 90e4d6e

Please sign in to comment.