Skip to content

Commit

Permalink
Error ShowResearchPage.class.php
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke authored and Xer0fire committed Jan 27, 2018
1 parent 9fa5e37 commit 99aaf15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/pages/game/ShowResearchPage.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ private function CancelBuildingFromQueue()
$db = Database::get();

$elementId = $USER['b_tech_id'];
$costResources = BuildFunctions::getElementPrice($USER, $PLANET, $elementId, false, $PLANET[$elementId] + 1);
$costResources = BuildFunctions::getElementPrice($USER, $PLANET, $elementId, false, $USER[$resource[$elementId]] + 1);

if($PLANET['id'] == $USER['b_tech_planet'])
{
Expand Down

0 comments on commit 99aaf15

Please sign in to comment.