From bfda40aee04633ab85b553437fc2f24de95722e9 Mon Sep 17 00:00:00 2001 From: Shadez Date: Mon, 10 Jan 2011 03:12:21 +0800 Subject: [PATCH] [449] Display Feats of Strength achievements category --- character-achievements.php | 4 ++-- includes/revision_nr.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/character-achievements.php b/character-achievements.php index e656d45fe..ca6415fd1 100644 --- a/character-achievements.php +++ b/character-achievements.php @@ -3,7 +3,7 @@ /** * @package World of Warcraft Armory * @version Release Candidate 1 - * @revision 440 + * @revision 449 * @copyright (c) 2009-2011 Shadez * @license http://opensource.org/licenses/gpl-license.php GNU Public License * @@ -120,7 +120,7 @@ $pages_count = count($pages); $achievements_page = $achievements->LoadAchievementPage($achievement_category, ($characters->GetFaction() == 1) ? 0 : 1); $i = 0; - if($achievement_category == 81) { + if($achievement_category == 81 && is_array($comparisonData)) { // Generate all available achievements $owner_fos = $achievements->BuildFoSListForComparison($pages); $pages = $owner_fos; diff --git a/includes/revision_nr.php b/includes/revision_nr.php index bb8c2932e..c70d58511 100644 --- a/includes/revision_nr.php +++ b/includes/revision_nr.php @@ -1,5 +1,5 @@ \ No newline at end of file