diff --git a/sites/all/modules/unl/unl_cas.module b/sites/all/modules/unl/unl_cas.module index 7542351358e2afa11694797439c2de1b406bd2e8..da55f62472a5e339239ac7689a324f52146fd62c 100644 --- a/sites/all/modules/unl/unl_cas.module +++ b/sites/all/modules/unl/unl_cas.module @@ -98,8 +98,8 @@ function unl_cas_form_alter(&$form, $form_state, $form_id) $form['account']['pass']['#type'] = 'hidden'; $form['account']['current_pass_required_values']['#type'] = 'hidden'; $form['account']['current_pass']['#type'] = 'hidden'; - - $form['picture']['#description'] = 'To change your picture, visit <a href="http://planetred.unl.edu/pg/profile/unl_' . $username .'">Planet Red</a>.'; + + $form['picture']['#description'] = 'To change your picture, visit <a href="http://planetred.unl.edu/pg/profile/unl_' . $GLOBALS['user']->name .'">Planet Red</a>.'; $form['picture']['picture_delete']['#type'] = 'hidden'; $form['picture']['picture_upload']['#type'] = 'hidden'; }