diff options
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index 64b319bc6..0b1e67385 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -2809,7 +2809,7 @@ function system_update_7059(&$sandbox) { // Add the usage entry for the file. $file = (object) $file; - file_usage_add($file, 'file', 'node', $revision->nid); + file_usage_add($file, 'file', 'node', $revision['nid']); } // Insert the revision's files into the field_upload table. |