Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Update ShowResearchPage.class.php #131

Merged
merged 1 commit into from
Jan 31, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions includes/pages/game/ShowResearchPage.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ private function CancelBuildingFromQueue()
continue;

if($ListIDArray[4] != $PLANET['id']) {
$sql = "SELECT :resource6, :resource31 FROM %%PLANETS%% WHERE id = :id;";
$sql = "SELECT :resource6, :resource31, id FROM %%PLANETS%% WHERE id = :id;";
$CPLANET = $db->selectSingle($sql, array(
':resource6' => $resource[6],
':resource31' => $resource[31],
Expand Down Expand Up @@ -402,4 +402,4 @@ public function show()

$this->display('page.research.default.tpl');
}
}
}