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/taxonomy/taxonomy.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/taxonomy/taxonomy.module') diff --git a/modules/taxonomy/taxonomy.module b/modules/taxonomy/taxonomy.module index 5abbbe89d..e0a6cc642 100644 --- a/modules/taxonomy/taxonomy.module +++ b/modules/taxonomy/taxonomy.module @@ -1126,10 +1126,10 @@ function taxonomy_admin() { break; case 'edit': if (arg(3) == 'vocabulary') { - $output = taxonomy_form_vocabulary(object2array(taxonomy_get_vocabulary(arg(4)))); + $output = taxonomy_form_vocabulary((array)taxonomy_get_vocabulary(arg(4))); } else if (arg(3) == 'term') { - $output = taxonomy_form_term(object2array(taxonomy_get_term(arg(4)))); + $output = taxonomy_form_term((array)taxonomy_get_term(arg(4))); } break; case t('Delete'): -- cgit v1.2.3