diff --git a/src/Pecee/Pixie/QueryBuilder/Adapters/BaseAdapter.php b/src/Pecee/Pixie/QueryBuilder/Adapters/BaseAdapter.php index fac9269..7f9771f 100644 --- a/src/Pecee/Pixie/QueryBuilder/Adapters/BaseAdapter.php +++ b/src/Pecee/Pixie/QueryBuilder/Adapters/BaseAdapter.php @@ -785,6 +785,11 @@ public function wrapSanitizer($value) return $value; } + // If first character contains " - skip sanitation + if ($value[0] === '"') { + return $value; + } + // Separate our table and fields which are joined with a ".", like my_table.id $valueArr = explode('.', $value, 2);