Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon committed Apr 21, 2011
1 parent d6cc7b1 commit 760787b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paraglide.php
Expand Up @@ -340,8 +340,8 @@ private static function _to_output_array($data) {
foreach ($data as $key => $value) {
if (is_array($value)) {
$data[$key] = self::_to_output_array($value);
} elseif (is_object($value) && method_exists($value, '_toArray')) {
$data[$key] = $value->_toArray();
} elseif (is_object($value) && method_exists($value, '__toArray')) {
$data[$key] = $value->__toArray();
}
}

Expand Down

0 comments on commit 760787b

Please sign in to comment.