Permalink
Browse files

Removed some code overhead in _attributes.php.twig

  • Loading branch information...
1 parent baa6af1 commit c6bcd636e0a15744261a54cf3aeb98762e685b97 @mpscholten committed Nov 5, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/Propel/Generator/Builder/Om/templates/Object/_attributes.php.twig
@@ -30,12 +30,12 @@ protected $virtualColumns = array();
{% include 'Object/_attribute/_columnAttributes.php.twig' %}
{% endif %}
-{% for key in builder.table.foreignKeys %}
- {% include 'Object/_attribute/_foreignKeyAttribute.php.twig' with {'foreignKey': key} %}
+{% for foreignKey in builder.table.foreignKeys %}
+ {% include 'Object/_attribute/_foreignKeyAttribute.php.twig' %}
{% endfor %}
{% for refFk in builder.table.referrers %}
- {% include 'Object/_attribute/_refFkAttributes.php.twig' with {'refFk': refFk} %}
+ {% include 'Object/_attribute/_refFkAttributes.php.twig' %}
{% endfor %}
{% for fkList in builder.table.crossFks %}

0 comments on commit c6bcd63

Please sign in to comment.