BUGFIX: columns quoted properly (from r98694)

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@106110 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Ingo Schommer 2010-06-03 00:16:58 +00:00
parent 576be307bc
commit 0ea8977cdc

View File

@ -624,7 +624,7 @@ class LeftAndMain extends Controller {
);
// Update all dependent pages
if($virtualPages = DataObject::get("VirtualPage", "CopyContentFromID = $node->ID")) {
if($virtualPages = DataObject::get("VirtualPage", "\"CopyContentFromID\" = $node->ID")) {
foreach($virtualPages as $virtualPage) {
$statusUpdates['modified'][$virtualPage->ID] = array(
'TreeTitle' => $virtualPage->TreeTitle()