Index: imagecache_profiles.module
===================================================================
--- imagecache_profiles.module (revision 10)
+++ imagecache_profiles.module (working copy)
@@ -45,9 +45,9 @@
     }
     elseif (variable_get('user_picture_default', '')) {
       if (isset($size)) {
-        $picture = l(theme('imagecache', $size, $account->picture), 'user/'. $account->uid, array('title' => t('View user profile.')), NULL, NULL, FALSE, TRUE);
+        $picture = l(theme('imagecache', $size, variable_get('user_picture_default', '')), 'user/'. $account->uid, array('title' => t('View user profile.')), NULL, NULL, FALSE, TRUE);
       } else {
-        $picture = file_create_url($account->picture);
+        $picture = file_create_url(variable_get('user_picture_default', ''));
         $alt = t("@user's picture", array('@user' => $account->name ? $account->name : variable_get('anonymous', t('Anonymous'))));
         $picture = theme('image', $picture, $alt, $alt, '', FALSE);
         if (!empty($account->uid) && user_access('access user profiles')) {