Index: filefield_paths.module
===================================================================
RCS file: /cvs/drupal-contrib/contributions/modules/filefield_paths/filefield_paths.module,v
retrieving revision 1.19.2.21
diff -w -U3 -r1.19.2.21 filefield_paths.module
--- filefield_paths.module	26 May 2009 10:24:34 -0000	1.19.2.21
+++ filefield_paths.module	3 Jun 2009 08:18:16 -0000
@@ -568,11 +568,11 @@
 function filefield_paths_process_string($value, $type, $object, $settings = array()) {
 
   // Process string tokens.
-  $placeholders = _filefield_paths_get_values($type, $object, (module_exists('pathauto') && $settings['pathauto']));
+  $placeholders = _filefield_paths_get_values($type, $object, (module_exists('pathauto') && isset($settings['pathauto']) && $settings['pathauto']));
   $value = str_replace($placeholders['tokens'], $placeholders['values'], $value);
 
   // Transliterate string.
-  if (module_exists('transliteration') && $settings['transliterate']) {
+  if (module_exists('transliteration') && isset($settings['transliterate']) && $settings['transliterate']) {
     $value = transliteration_get($value);
     if ($type == 'field') {
       $paths = explode('/', $value);
@@ -585,7 +585,7 @@
   }
 
   // Convert string to lower case.
-  if ($settings['tolower'] || ($settings['pathauto'] && variable_get('pathauto_case', 0))) {
+  if ((isset($settings['tolower']) && $settings['tolower']) || (isset($settings['pathauto']) && $settings['pathauto'] && variable_get('pathauto_case', 0))) {
     // Convert string to lower case
     $value = drupal_strtolower($value);
   }
