Author: annis
Date: 2010-03-31 10:21:40 +0200 (Wed, 31 Mar 2010)
New Revision: 28910
Modified:
plugins/ahDoctrineEasyEmbeddedRelationsPlugin/trunk/lib/form/ahBaseFormDoctrine.class.php
Log:
fixed logic for moving empty form after existing relations
Modified:
plugins/ahDoctrineEasyEmbeddedRelationsPlugin/trunk/lib/form/ahBaseFormDoctrine.class.php
===================================================================
---
plugins/ahDoctrineEasyEmbeddedRelationsPlugin/trunk/lib/form/ahBaseFormDoctrine.class.php
2010-03-31 08:21:38 UTC (rev 28909)
+++
plugins/ahDoctrineEasyEmbeddedRelationsPlugin/trunk/lib/form/ahBaseFormDoctrine.class.php
2010-03-31 08:21:40 UTC (rev 28910)
@@ -89,7 +89,7 @@
if (
isset($relations[$relationName]['newFormAfterExistingRelations']) &&
$relations[$relationName]['newFormAfterExistingRelations'] &&
- && isset($this[$relationName]) && isset($this['new_'.$relationName])
+ isset($this[$relationName]) && isset($this['new_'.$relationName])
)
{
$this->getWidgetSchema()->moveField('new_'.$relationName,
sfWidgetFormSchema::AFTER, $relationName);
--
You received this message because you are subscribed to the Google Groups
"symfony SVN" 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/symfony-svn?hl=en.