From 8b3bf4d005dff403b222e8eaae3011c3884e52d4 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 21 Feb 2006 14:45:46 +0000 Subject: [PATCH] - Patch #50106 by webchick: code clean-up. --- modules/user.module | 2 +- modules/user/user.module | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/user.module b/modules/user.module index b641e81bc09..979fc4daa91 100644 --- a/modules/user.module +++ b/modules/user.module @@ -774,7 +774,7 @@ function user_menu($may_cache) { $items[] = array('path' => 'user/'. arg(1), 'title' => t('user'), 'type' => MENU_CALLBACK, 'callback' => 'user_view', - 'callback arguments' => arg(1), 'access' => $view_access); + 'callback arguments' => array(arg(1)), 'access' => $view_access); if ($user_exists !== FALSE || $admin_access) { $items[] = array('path' => 'user/'. arg(1) .'/view', 'title' => t('view'), diff --git a/modules/user/user.module b/modules/user/user.module index b641e81bc09..979fc4daa91 100644 --- a/modules/user/user.module +++ b/modules/user/user.module @@ -774,7 +774,7 @@ function user_menu($may_cache) { $items[] = array('path' => 'user/'. arg(1), 'title' => t('user'), 'type' => MENU_CALLBACK, 'callback' => 'user_view', - 'callback arguments' => arg(1), 'access' => $view_access); + 'callback arguments' => array(arg(1)), 'access' => $view_access); if ($user_exists !== FALSE || $admin_access) { $items[] = array('path' => 'user/'. arg(1) .'/view', 'title' => t('view'),