diff options
author | Cash Costello <cash.costello@gmail.com> | 2012-01-08 10:05:45 -0500 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2012-01-08 10:05:45 -0500 |
commit | 3b496d923045770bdf4b25452fa63253927ee56a (patch) | |
tree | fda55541c56db8dc0c92cc030ba3b3c34f76037c /engine/classes/ODDDocument.php | |
parent | 05cfa919e51737d8292a6aa317f9802aee6f33bf (diff) | |
download | elgg-3b496d923045770bdf4b25452fa63253927ee56a.tar.gz elgg-3b496d923045770bdf4b25452fa63253927ee56a.tar.bz2 |
Refs #4271 integrates fix to 1.8 branch for ODDDocument
Diffstat (limited to 'engine/classes/ODDDocument.php')
-rw-r--r-- | engine/classes/ODDDocument.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/classes/ODDDocument.php b/engine/classes/ODDDocument.php index 4d185aba5..540c35a3b 100644 --- a/engine/classes/ODDDocument.php +++ b/engine/classes/ODDDocument.php @@ -70,8 +70,8 @@ class ODDDocument implements Iterator { public function addElement(ODD $element) { if (!is_array($this->elements)) { $this->elements = array(); - $this->elements[] = $element; } + $this->elements[] = $element; } /** |