From: Michael M Slusarz Date: Wed, 21 Jan 2009 22:57:41 +0000 (-0700) Subject: Fix stats.php self determination X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=a96f423317bbaa2f45b9b9596a7290f22f2e386b;p=horde.git Fix stats.php self determination --- diff --git a/chora/lib/Chora.php b/chora/lib/Chora.php index 47c5838c6..3a3356e53 100644 --- a/chora/lib/Chora.php +++ b/chora/lib/Chora.php @@ -528,7 +528,7 @@ class Chora } /* Can't use $current - gives us PATH_INFO information. */ - $views[] = (strpos($_SERVER['PHP_SELF'], '/stats.php/') !== false) + $views[] = (strpos($_SERVER['PHP_SELF'], '/stats.php') !== false) ? '' . _("Statistics") . '' : Horde::widget(Chora::url('stats', $where), _("Statistics"), 'widget', '', '', _("_Statistics"));