summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202019-09-24 15:10:13 +0530
committerGitHub2019-09-24 15:10:13 +0530
commitc12753cb3eb02ab4ccae8edb8b68da8c18e541cd (patch)
tree853bb9576b1c2092dd7dcc5402b7669ae08b16bd
parent1756191a385c2b5297241202c79c9d146c454bff (diff)
parent2b7194bb9183f8b9a60e1c155dc226b8722e7ca8 (diff)
downloadDWSIM_lab_migration-c12753cb3eb02ab4ccae8edb8b68da8c18e541cd.tar.gz
DWSIM_lab_migration-c12753cb3eb02ab4ccae8edb8b68da8c18e541cd.tar.bz2
DWSIM_lab_migration-c12753cb3eb02ab4ccae8edb8b68da8c18e541cd.zip
Merge pull request #5 from Sashi20/master
Fix column name issue
-rwxr-xr-xfull_download.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/full_download.inc b/full_download.inc
index e65c702..66a7d24 100755
--- a/full_download.inc
+++ b/full_download.inc
@@ -101,7 +101,7 @@ function lab_migration_download_full_lab()
while ($solution_row = $solution_q->fetchObject())
{
$CODE_PATH = 'CODE' . $solution_row->code_number . '/';
- $solution_files_q = db_query("SELECT lmsf.*, lmp.directory_name FROM lab_migration_solution_files lmsf JOIN lab_migration_solution lms JOIN lab_migration_experiment lme JOIN lab_migration_proposal lmp WHERE lms.id = lmsf.solution_id AND lme.id = lms.experiment_id AND lmp.id = lme.proposal_id AND lmsf.soultion_id = :solution_id", array(':solution_id' => $solution_row->id));
+ $solution_files_q = db_query("SELECT lmsf.*, lmp.directory_name FROM lab_migration_solution_files lmsf JOIN lab_migration_solution lms JOIN lab_migration_experiment lme JOIN lab_migration_proposal lmp WHERE lms.id = lmsf.solution_id AND lme.id = lms.experiment_id AND lmp.id = lme.proposal_id AND lmsf.solution_id = :solution_id", array(':solution_id' => $solution_row->id));
while ($solution_files_row = $solution_files_q->fetchObject())
{
//var_dump($solution_files_row);die;