Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/site/app/controllers/statistics_controller.php
diff options
context:
space:
mode:
authorfligtar@gmail.com <fligtar@gmail.com@4eb1ac78-321c-0410-a911-ec516a8615a5>2008-08-22 21:45:18 (GMT)
committer fligtar@gmail.com <fligtar@gmail.com@4eb1ac78-321c-0410-a911-ec516a8615a5>2008-08-22 21:45:18 (GMT)
commit0fb4ea745d66c7118d07a74d648beb691ee13db6 (patch)
treecb8f59bb27aaded58d55131b33c5cec28c3b4ef8 /site/app/controllers/statistics_controller.php
parent755b1f755eca153b818bcd195ac8b711b95c6dbb (diff)
merging 3.5 into trunk - 14562:17878
git-svn-id: http://svn.mozilla.org/addons/trunk@17880 4eb1ac78-321c-0410-a911-ec516a8615a5
Diffstat (limited to 'site/app/controllers/statistics_controller.php')
-rw-r--r--site/app/controllers/statistics_controller.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/site/app/controllers/statistics_controller.php b/site/app/controllers/statistics_controller.php
index 69c9f61..99d14b4 100644
--- a/site/app/controllers/statistics_controller.php
+++ b/site/app/controllers/statistics_controller.php
@@ -183,9 +183,7 @@ class StatisticsController extends AppController
$this->set('all_addons', $this->Addon->getAddonsByUser($session['id']));
// Add-on icon
- $addonIcon = $this->Image->urlForAddonIcon($addon_id);
- if (empty($addonIcon))
- $addonIcon = $this->base.'/img/'.DEFAULT_ADDON_ICON;
+ $addonIcon = $this->Image->getAddonIconURL($addon_id);
$this->publish('addonIcon', $addonIcon);
// Data for overview