BUG FIX: tables and columns now quoted properly

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@100657 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Geoff Munn 2010-03-08 22:08:34 +00:00 committed by Sam Minnee
parent 4289a338e6
commit 95dead09a6

View File

@ -51,7 +51,7 @@ class WidgetArea extends DataObject {
} }
function ItemsToRender() { function ItemsToRender() {
return $this->getComponents('Widgets', "Widget.Enabled = 1"); return $this->getComponents('Widgets', "\"Widget\".\"Enabled\" = 1");
} }
function forTemplate() { function forTemplate() {