Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I noticed a misspelled sentence in the file. Here is a patch:
--- field_file.inc.old Thu Apr 29 03:37:05 2010
+++ field_file.inc.new Sat May 08 00:15:37 2010
@@ -85,7 +85,7 @@
return 0;
}
if (!@chmod($file->filepath, 0664)) {
- watchdog('filefield', 'Could not set permissons on destination file: %file', array('%file' => $file->filepath));
+ watchdog('filefield', 'Could not set permissions on destination file: %file', array('%file' => $file->filepath));
}
// Let modules add additional properties to the yet barebone file object.
Comment | File | Size | Author |
---|---|---|---|
#1 | filefield_permissions_typo.patch | 7.52 KB | quicksketch |
Comments
Comment #1
quicksketchThanks, I just did a find/replace and corrected the instances in the translations too. Committed attached patch.