summaryrefslogtreecommitdiff
path: root/modules/update
diff options
context:
space:
mode:
Diffstat (limited to 'modules/update')
-rw-r--r--modules/update/update.compare.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/update/update.compare.inc b/modules/update/update.compare.inc
index 34b74849e..f2c183b86 100644
--- a/modules/update/update.compare.inc
+++ b/modules/update/update.compare.inc
@@ -69,7 +69,7 @@ function _update_process_info_list(&$projects, $list, $project_type) {
// which is left alone by tar and correctly set to the time the .info file
// was unpacked.
if (!isset($file->info['_info_file_ctime'])) {
- $info_filename = dirname($file->filename) . '/' . $file->name . '.info';
+ $info_filename = dirname($file->filepath) . '/' . $file->name . '.info';
$file->info['_info_file_ctime'] = filectime($info_filename);
}