summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202020-07-22 10:20:40 +0530
committerGitHub2020-07-22 10:20:40 +0530
commitf871e60afedf0f3594ce4268339201f173a38fd2 (patch)
tree9e058bb886197c0202bb12fc9c3e4f994f505aef
parent94aedb1735dcd29dbd81e56e7f873d3865b5b7df (diff)
parent1f48528c36126c447d6a5cb211938b3736cc1a69 (diff)
downloaddwsim_custom_model-f871e60afedf0f3594ce4268339201f173a38fd2.tar.gz
dwsim_custom_model-f871e60afedf0f3594ce4268339201f173a38fd2.tar.bz2
dwsim_custom_model-f871e60afedf0f3594ce4268339201f173a38fd2.zip
Merge pull request #6 from Sashi20/master
Update the filetype to download abstract file
-rwxr-xr-xdownload.inc2
1 files changed, 1 insertions, 1 deletions
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;