From 27018ca2a8d44ec7314e0bfca69721c9344539da Mon Sep 17 00:00:00 2001 From: David Anderson Date: Wed, 25 Jan 2017 17:39:31 -0800 Subject: [PATCH] remove file management: fix typos --- html/user/job_file.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/user/job_file.php b/html/user/job_file.php index f2c6793c84..df62d6871c 100644 --- a/html/user/job_file.php +++ b/html/user/job_file.php @@ -131,7 +131,7 @@ function query_files($r) { $jf_id = $job_file->id; } else { $jf_id = BoincJobFile::insert( - "(md5, create_time, delete_time) values ('$phys_name', $now, $delete_time)" + "(md5, create_time, delete_time) values ('$fname', $now, $delete_time)" ); if (!$jf_id) { xml_error(-1, "query_file(): BoincJobFile::insert($fname) failed: ".BoincDb::error()); @@ -228,7 +228,7 @@ function upload_files($r) { "(md5, create_time, delete_time) values ('$fname', $now, $delete_time)" ); if (!$jf_id) { - xml_error(-1, "BoincJobFile::insert($md5) failed: ".BoincDb::error()); + xml_error(-1, "BoincJobFile::insert($fname) failed: ".BoincDb::error()); } if ($batch_id) { BoincBatchFileAssoc::insert(