From ea2d79109595f0c936259ffacfccd904f8dcd599 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 31 Dec 2005 10:48:56 +0000 Subject: - Patch 41169 by Chris: got rid of expensvie object 2 array casts. --- modules/blogapi/blogapi.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/blogapi') 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; } } -- cgit v1.2.3