Commit edd3094e authored by webchick's avatar webchick

#895088 by Sutharsan: Fixed typo causing file upgrade path to fail.

parent 83c52c3b
......@@ -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.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment