? imagecache_profiles_notice.patch
Index: imagecache_profiles.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/imagecache_profiles/imagecache_profiles.module,v
retrieving revision 1.4.2.1
diff -u -p -r1.4.2.1 imagecache_profiles.module
--- imagecache_profiles.module	19 Dec 2008 18:05:14 -0000	1.4.2.1
+++ imagecache_profiles.module	17 Feb 2009 09:01:55 -0000
@@ -5,7 +5,7 @@
  * Implementation of hook_help().
  */
 function imagecache_profiles_help($path, $arg) {
-  switch($section) {
+  switch($path) {
     case 'admin/help#imagecache_profiles':
       return t('Utilizes imagecache presets for user profile pictures.');
   }
@@ -38,7 +38,7 @@ function imagecache_profiles_preprocess_
       }
     }
     // If viewing a comment
-    if ($account->cid) {
+    if (isset($account->cid)) {
       if (variable_get('user_picture_imagecache_comments', 0)) {
         $size = variable_get('user_picture_imagecache_comments', 0);
       }
