Browse Source

Changing _medium, _small , big_ to constants in user_manager class

Julio Montoya 15 years ago
parent
commit
99ef750907
1 changed files with 1 additions and 1 deletions
  1. 1 1
      user_portal.php

+ 1 - 1
user_portal.php

@@ -1222,7 +1222,7 @@ if ($show_menu) {
 		if ($img_array['file'] == 'unknown.jpg') {
 			$no_image =true;
 		}		
-		$img_array = UserManager::get_picture_user(api_get_user_id(), $img_array['file'], 92, 'medium_', ' width="90" height="90" ');
+		$img_array = UserManager::get_picture_user(api_get_user_id(), $img_array['file'], 92, USER_IMAGE_SIZE_MEDIUM, ' width="90" height="90" ');
 		
 		echo '<div id="social_widget" style="">';
 		if ($no_image == false)