Navigation Menu

Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
axiom82 committed Feb 26, 2014
1 parent 4c698bb commit 0dc1701
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Contract/Term.php
Expand Up @@ -134,6 +134,9 @@ public function debug($print = true){

public function element($name){

if (!in_array($name, $this->dataAllowable)) $this->dataAllowable[] = $name;
if (!isset($this->children[$name])) $this->children[$name] = new Site_Contract_Term($name, '', $this);

return $this->getTerm($name);

}
Expand Down

0 comments on commit 0dc1701

Please sign in to comment.