Skip to content

Commit

Permalink
[397] Missed Characters class initializations are fixed now
Browse files Browse the repository at this point in the history
  • Loading branch information
Shadez committed Sep 25, 2010
1 parent b5c6157 commit 782fa34
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions character-achievements.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @package World of Warcraft Armory
* @version Release Candidate 1
* @revision 377
* @revision 397
* @copyright (c) 2009-2010 Shadez
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
Expand Down Expand Up @@ -61,7 +61,7 @@
$comparison = array();
$i = 0;
foreach($comparisonData as $char) {
$comparison[$i] = new Characters;
$comparison[$i] = new Characters($armory);
$comparison[$i]->BuildCharacter($char['name'], $utils->GetRealmIdByName($char['realm']), true);
if(!$comparison[$i]->CheckPlayer()) {
array_pop($comparison);
Expand Down
4 changes: 2 additions & 2 deletions character-statistics.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @package World of Warcraft Armory
* @version Release Candidate 1
* @revision 385
* @revision 397
* @copyright (c) 2009-2010 Shadez
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
Expand Down Expand Up @@ -58,7 +58,7 @@
$comparison = array();
$i = 0;
foreach($comparisonData as $char) {
$comparison[$i] = new Characters;
$comparison[$i] = new Characters($armory);
$comparison[$i]->BuildCharacter($char['name'], $utils->GetRealmIdByName($char['realm']), true);
if(!$comparison[$i]->CheckPlayer()) {
array_pop($comparison);
Expand Down
2 changes: 1 addition & 1 deletion includes/revision_nr.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php
define('ARMORY_REVISION', 396);
define('ARMORY_REVISION', 397);
define('DB_VERSION', 'armory_r383');
define('CONFIG_VERSION', '0708201001');
?>
4 changes: 2 additions & 2 deletions item-tooltip.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* @package World of Warcraft Armory
* @version Release Candidate 1
* @revision 365
* @revision 397
* @copyright (c) 2009-2010 Shadez
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
Expand Down Expand Up @@ -77,7 +77,7 @@
$primaryCharacter = $utils->GetActiveCharacter();
if(isset($primaryCharacter['name'])) {
if($primaryCharacter['name'] != $characters->GetName() || ($primaryCharacter['name'] == $characters->GetName() && $primaryCharacter['realm_id'] != $characters->GetRealmID())) {
$newChar = new Characters;
$newChar = new Characters($armory);
$newChar->BuildCharacter($primaryCharacter['name'], $primaryCharacter['realm_id'], false);
if($newChar->CheckPlayer()) {
$itemSlot = $items->GetItemSlotId($itemID);
Expand Down

1 comment on commit 782fa34

@Vasago
Copy link

@Vasago Vasago commented on 782fa34 Sep 25, 2010

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you look at these problems please? http://github.com/Shadez/wowarmory/issues#issue/71 Thank you.

Please sign in to comment.