summaryrefslogtreecommitdiff
path: root/modules/system/system.install
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-08-27 11:58:04 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-08-27 11:58:04 +0000
commitedd3094eae80f2ac9b8fd9bafc66430314fc3c50 (patch)
treea749f50d61b2a63ff9335fc73898d157f3fdf705 /modules/system/system.install
parent83c52c3b1a39a10d3f0624ea640f7e211c2061a2 (diff)
downloadbrdo-edd3094eae80f2ac9b8fd9bafc66430314fc3c50.tar.gz
brdo-edd3094eae80f2ac9b8fd9bafc66430314fc3c50.tar.bz2
#895088 by Sutharsan: Fixed typo causing file upgrade path to fail.
Diffstat (limited to 'modules/system/system.install')
-rw-r--r--modules/system/system.install2
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.