I found the line in;
public static function addBid($pilotid, $routeid) {
$pilotid = DB::escape($pilotid);
$routeid = DB::escape($routeid);
if (DB::get_row('SELECT bidid FROM ' . TABLE_PREFIX . 'bids
WHERE pilotid=' . $pilotid . ' AND routeid=' . $routeid)) {
return false;
}
$pilotid = DB::escape($pilotid);
$routeid = DB::escape($routeid);
$sql = 'INSERT IGNORE' . TABLE_PREFIX . 'bids (pilotid, routeid, dateadded)
VALUES (' . $pilotid . ', ' . $routeid . ', NOW())';
DB::query($sql);
self::setBidOnSchedule($routeid, DB::$insert_id);
if (DB::errno() != 0) return false;
return true;
}
which was located in SchedulesData.class.php
Previously it was 'INSERT INTO ' (space after O intended)
Is that it, or am I just reading something else?
Otherwise, it made no difference.