summaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-12-31 10:48:56 +0000
committerDries Buytaert <dries@buytaert.net>2005-12-31 10:48:56 +0000
commitea2d79109595f0c936259ffacfccd904f8dcd599 (patch)
treeba709e7605b91af6bbb0c613850be03f83e88935 /themes
parent9ff2c1b3a8c5fcbf656cc744f210fc37f16a5075 (diff)
downloadbrdo-ea2d79109595f0c936259ffacfccd904f8dcd599.tar.gz
brdo-ea2d79109595f0c936259ffacfccd904f8dcd599.tar.bz2
- Patch 41169 by Chris: got rid of expensvie object 2 array casts.
Diffstat (limited to 'themes')
-rw-r--r--themes/engines/phptemplate/phptemplate.engine2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/engines/phptemplate/phptemplate.engine b/themes/engines/phptemplate/phptemplate.engine
index 94a40a5ba..ac98567f7 100644
--- a/themes/engines/phptemplate/phptemplate.engine
+++ b/themes/engines/phptemplate/phptemplate.engine
@@ -244,7 +244,7 @@ function phptemplate_node($node, $teaser = 0, $page = 0) {
);
// Flatten the node object's member fields.
- $variables = array_merge(object2array($node), $variables);
+ $variables = array_merge((array)$node, $variables);
// Display info only on certain node types.
if (theme_get_setting('toggle_node_info_' . $node->type)) {