Author: jablko
Date: Mon Nov 30 11:13:50 2009
New Revision: 4010
Log:
Fix propel:data-dump, http://trac.symfony-project.org/ticket/7739
Modified:
trunk/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/addon/sfPropelData.class.php
Modified:
trunk/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/addon/sfPropelData.class.php
==============================================================================
---
trunk/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/addon/sfPropelData.class.php
Mon Nov 30 00:10:31 2009 (r4009)
+++
trunk/lib/vendor/symfony/lib/plugins/sfPropelPlugin/lib/addon/sfPropelData.class.php
Mon Nov 30 11:13:50 2009 (r4010)
@@ -376,7 +376,7 @@
$in = array();
foreach ($tableMap->getColumns() as $column)
{
- $in[] = strtolower($column->getName());
+ $in[] = '`'.strtolower($column->getName()).'`';
}
$stmt = $this->con->query(sprintf('SELECT %s FROM %s', implode(',',
$in), constant('Qubit'.$tableName.'::TABLE_NAME')));
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.