Fix prefixing raw tables

This commit is contained in:
Kelly Banman
2012-03-09 08:48:20 -08:00
parent 18f91414bb
commit 17f7389bc5

View File

@@ -35,6 +35,11 @@ abstract class Grammar {
*/
public function wrap_table($table)
{
if ($table instanceof Expression)
{
return $this->wrap($table);
}
$prefix = '';
// Tables may be prefixed with a string. This allows developers to