diff options
author | Dries Buytaert <dries@buytaert.net> | 2005-12-31 10:48:56 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2005-12-31 10:48:56 +0000 |
commit | ea2d79109595f0c936259ffacfccd904f8dcd599 (patch) | |
tree | ba709e7605b91af6bbb0c613850be03f83e88935 /modules/blogapi | |
parent | 9ff2c1b3a8c5fcbf656cc744f210fc37f16a5075 (diff) | |
download | brdo-ea2d79109595f0c936259ffacfccd904f8dcd599.tar.gz brdo-ea2d79109595f0c936259ffacfccd904f8dcd599.tar.bz2 |
- Patch 41169 by Chris: got rid of expensvie object 2 array casts.
Diffstat (limited to 'modules/blogapi')
-rw-r--r-- | modules/blogapi/blogapi.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/blogapi/blogapi.module b/modules/blogapi/blogapi.module index 8b284b241..2e5fef9bc 100644 --- a/modules/blogapi/blogapi.module +++ b/modules/blogapi/blogapi.module @@ -629,7 +629,7 @@ __RSD__; function _blogapi_mt_extra(&$node, $struct) { if (is_array($node)) { $was_array = true; - $node = array2object($node); + $node = (object)$node; } // mt_allow_comments @@ -681,7 +681,7 @@ function _blogapi_mt_extra(&$node, $struct) { } if ($was_array) { - $node = object2array($node); + $node = (array)$node; } } |