Report Fuel Calculator V_1.1 in Parkho's Addons Posted November 20, 2013 Hello guys .... I had the same problem ... no aircrafts listed at "SET PARAMETERS". I solved in my way ... and at lest for me ..works ! So ... we have in CORE/COMMON/FSCalculator/FCalculator.class.php : <?php class FCalculator extends CodonData { public function findaircraft() { $sql = "SELECT DISTINCT name FROM".TABLE_PREFIX."aircraft"; return DB::get_results($sql); } You must edit /replace the RED line with : $sql = "SELECT * FROM phpvms_aircraft"; And thats all !! Hope to be a solution for all and not only for my ..PC/phpvms sistem 2
Fuel Calculator V_1.1
in Parkho's Addons
Posted
Hello guys ....
I had the same problem ... no aircrafts listed at "SET PARAMETERS".
I solved in my way ... and at lest for me ..works !
So ... we have in CORE/COMMON/FSCalculator/FCalculator.class.php :
<?php
class FCalculator extends CodonData
{
public function findaircraft()
{
$sql = "SELECT DISTINCT name FROM".TABLE_PREFIX."aircraft";
return DB::get_results($sql);
}
You must edit /replace the RED line with : $sql = "SELECT * FROM phpvms_aircraft";
And thats all !! Hope to be a solution for all and not only for my ..PC/phpvms sistem