From 1f48528c36126c447d6a5cb211938b3736cc1a69 Mon Sep 17 00:00:00 2001 From: Sashi20 Date: Wed, 22 Jul 2020 10:18:16 +0530 Subject: Update the filetype to download abstract file --- download.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/download.inc b/download.inc index ab19921..c64250a 100755 --- a/download.inc +++ b/download.inc @@ -35,7 +35,7 @@ function custom_model_project_files() { $query = db_select('custom_model_submitted_abstracts_file'); $query->fields('custom_model_submitted_abstracts_file'); $query->condition('proposal_id', $proposal_id); - $query->condition('filetype', A); + $query->condition('filetype', 'A'); $result = $query->execute(); $custom_model_project_files = $result->fetchObject(); //var_dump($custom_model_project_files);die; -- cgit