Active Record join condition subquery escaped SELECT |
[eluser]Unknown[/eluser]
[quote author="Mark Croxton" date="1340437162"]This may help explain the problem with back ticks: https://gist.github.com/2923657[/quote] Thanks for bringing this issue to my attention, here's what I did : Edit file 'system/database/DB_active_rec.php' Modify function 'join', add a fourth parameter '$escape_cond' which will skip the condition identifiers protection when set to FALSE Code: public function join($table, $cond, $type = '', $escape_cond = TRUE) And join like this : Code: $this->db->join(t$able, $condition, '', FALSE); None of my other joins are impacted. |
Messages In This Thread |
Active Record join condition subquery escaped SELECT - by El Forum - 06-22-2012, 07:17 PM
Active Record join condition subquery escaped SELECT - by El Forum - 06-23-2012, 12:39 AM
Active Record join condition subquery escaped SELECT - by El Forum - 06-23-2012, 03:13 PM
Active Record join condition subquery escaped SELECT - by El Forum - 09-21-2012, 03:09 AM
Active Record join condition subquery escaped SELECT - by El Forum - 10-03-2012, 02:06 AM
|