1. Edit function
public function join($table, $cond, $type = '')
rubah menjadi,
public function join($table, $cond = '', $type = '')2. Masih di dalam function join, cari
// Assemble the JOIN statement
$join = $type.'JOIN '.$this->_protect_identifiers($table, TRUE, NULL, FALSE).' ON '.$cond;rubah menjadi,
// Assemble the JOIN statement3. Done
if ($cond != '')
$join = $type.'JOIN '.$this->_protect_identifiers($table, TRUE, NULL, FALSE).' ON '.$cond.' ';
else
$join = $type.'JOIN '.$this->_protect_identifiers($table, TRUE, NULL, FALSE).' ';