--- locale.module	2008-05-09 12:09:29.000000000 +0200
+++ locale0.module	2008-05-09 12:10:22.000000000 +0200
@@ -182,7 +182,9 @@ function locale($string = NULL) {
         locale_refresh_cache();
         $cache = cache_get("locale:$locale", 'cache');
       }
-      $locale_t = unserialize($cache->data);
+      if($cache){
+      	$locale_t = unserialize($cache->data);
+      }
     } else {
       $locale_t = array();
     }
