From: Michael M Slusarz Date: Sat, 30 Jan 2010 16:37:33 +0000 (-0700) Subject: Don't try to access protected member variable X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=2a629e5dae217a42c1c847ed85e0ed530a177c6d;p=horde.git Don't try to access protected member variable --- diff --git a/ingo/lib/Block/overview.php b/ingo/lib/Block/overview.php index 8cc933065..44037a243 100644 --- a/ingo/lib/Block/overview.php +++ b/ingo/lib/Block/overview.php @@ -34,11 +34,11 @@ class Horde_Block_ingo_overview extends Horde_Block { function _content() { /* Get list of filters */ - $filters = &$GLOBALS['ingo_storage']->retrieve(Ingo_Storage::ACTION_FILTERS); + $filters = $GLOBALS['ingo_storage']->retrieve(Ingo_Storage::ACTION_FILTERS); $html = ''; $html_pre = ''; - foreach ($filters->_filters as $filter) { + foreach ($filters->getFilterList() as $filter) { if (!empty($filter['disable'])) { $active = _("inactive"); } else {
'; $html_post = '