Skip to content

Commit

Permalink
Fixes #4271 fixed addElement() in ODD code
Browse files Browse the repository at this point in the history
  • Loading branch information
cash committed Jan 8, 2012
1 parent 18bfefb commit 7f6d986
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/lib/opendd.php
Expand Up @@ -59,8 +59,8 @@ public function getNumElements() {
public function addElement(ODD $element) {
if (!is_array($this->elements)) {
$this->elements = array();
$this->elements[] = $element;
}
$this->elements[] = $element;
}

public function addElements(array $elements) {
Expand Down

0 comments on commit 7f6d986

Please sign in to comment.