From c11a68b45d7838364c7b4733373b99b7c73cb4d8 Mon Sep 17 00:00:00 2001 From: nruest Date: Fri, 3 Aug 2012 16:37:14 -0400 Subject: [PATCH] stupid late friday typos --- plugins/fits.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/fits.inc b/plugins/fits.inc index b7e30aee..bebb0a81 100644 --- a/plugins/fits.inc +++ b/plugins/fits.inc @@ -35,13 +35,13 @@ class fits { * @return type */ function extractFits($parameterArray, $dsid, $file, $file_ext) { - $file_suffix = '_' . $dsid . '.xml'; + $file_name = '_' . $dsid . '.xml'; $output = array(); exec('fits.sh -i ' . escapeshellarg($file) . '', $output); - if ( !file_put_contents($file . $file_suffix, implode("\n", $output)) ) { + if ( !file_put_contents($file . $file_name, implode("\n", $output)) ) { exit("Error writing file: ". $file_name); } - $_SESSION['fedora_ingest_files']["$dsid"] = $file . $file_suffix; + $_SESSION['fedora_ingest_files']["$dsid"] = $file . $file_name; return TRUE; }