Signed-off-by: Gregory PLANCHAT <g.planchat@gmail.com>

This commit is contained in:
Gregory PLANCHAT 2011-06-28 13:02:55 +02:00
commit 3fd8832b45
138 changed files with 2597 additions and 1253 deletions

View file

@ -43,7 +43,7 @@ require_once dirname(__FILE__) .'/common.php';
$UsedPlanet = false;
$select = doquery("SELECT * FROM {{table}}", "planets");
while ($row = mysql_fetch_array($select)) {
while ($row = $select->fetch(PDO::FETCH_BOTH)) {
if ($galaxy == $row['galaxy'] &&
$system == $row['system'] &&
$planet == $row['planet'] &&