From 33ef42291fab05ea84497f6d520e950186ba4610 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 17 Aug 2010 13:50:52 +0000 Subject: - Patch #885000 by cwgordon7: drupal_placeholder() takes an array as an argument. --- modules/profile/profile.pages.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/profile') diff --git a/modules/profile/profile.pages.inc b/modules/profile/profile.pages.inc index 023b2357c..a85d6fe1f 100644 --- a/modules/profile/profile.pages.inc +++ b/modules/profile/profile.pages.inc @@ -77,7 +77,7 @@ function profile_browse() { $output .= theme('pager', array('tags' => NULL)); if ($field->type == 'selection' || $field->type == 'list' || $field->type == 'textfield') { - $title = strtr(check_plain($field->page), array('%value' => drupal_placeholder(array('text' => $value)))); + $title = strtr(check_plain($field->page), array('%value' => drupal_placeholder($value))); } else { $title = check_plain($field->page); -- cgit v1.2.3