Skip to content

Instantly share code, notes, and snippets.

Created April 10, 2011 23:37
Show Gist options
  • Save anonymous/912851 to your computer and use it in GitHub Desktop.
Save anonymous/912851 to your computer and use it in GitHub Desktop.
A quick patch for Uploadify to make it compatible with MSSQL
163c163
< if($files = DataObject::get($class, "`{$class}`.ID IN (".Convert::raw2sql($list).")")) {
---
> if($files = DataObject::get($class, "\"{$class}\".\"ID\" IN (".Convert::raw2sql($list).")")) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment