From: cash Date: Thu, 9 Dec 2010 21:24:52 +0000 (+0000) Subject: Fixes #2726 applied zcho's patch to fix more errors from the "_" to "-" CSS conversion X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=276a83879de7b642e34f6ddb89c452327cb636e4;p=lorea%2Felgg.git Fixes #2726 applied zcho's patch to fix more errors from the "_" to "-" CSS conversion git-svn-id: http://code.elgg.org/elgg/trunk@7586 36083f99-b078-4883-b0ff-0f9b5a30f544 --- diff --git a/views/default/input/userpicker.php b/views/default/input/userpicker.php index 8f32aa4c5..85fbd70f1 100644 --- a/views/default/input/userpicker.php +++ b/views/default/input/userpicker.php @@ -18,9 +18,9 @@ * */ -global $user-picker_js_sent; +global $user_picker_js_sent; -function user-picker_add-user($user_id) { +function user_picker_add_user($user_id) { $user = get_entity($user_id); if (!$user || !($user instanceof ElggUser)) { return FALSE; @@ -56,7 +56,7 @@ foreach ($vars['value'] as $value) { // convert the values to a json-encoded list $json_values = json_encode($values); -if (!$user-picker_js_sent) { +if (!$user_picker_js_sent) { ?> @@ -170,13 +170,13 @@ $(document).ready(function() { });