forked from propelorm/Propel2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed template not calling the right method
- Loading branch information
Marc Philip Scholten
committed
Oct 4, 2013
1 parent
24a5cba
commit 4117aad
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
src/Propel/Generator/Builder/Om/templates/Object/_constructor.php.twig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,12 +1,12 @@ | |||
/** | /** | ||
* Initializes internal state of {{ builder.qualifiedClassName }} object. | * Initializes internal state of {{ builder.qualifiedClassName }} object. | ||
{% if builder.defaultValues %} | {% if builder.hasDefaultValues %} | ||
* @see applyDefaults()" | * @see applyDefaults()" | ||
{% endif %} | {% endif %} | ||
*/ | */ | ||
public function __construct() | public function __construct() | ||
{ | { | ||
{% if builder.defaultValues %} | {% if builder.hasDefaultValues %} | ||
$this->applyDefaultValues(); | $this->applyDefaultValues(); | ||
{% endif %} | {% endif %} | ||
} | } |