summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSashi202019-01-08 12:00:11 +0530
committerGitHub2019-01-08 12:00:11 +0530
commit805102a54dfff6193c9c796db6731c35a3b497e0 (patch)
treec3fb718be36fc51c3a2a8a0ba643b98afaa40e09
parent647e2729ac1651bd6a5de77f68209f3f79528950 (diff)
parent41efa4c2356884adca759ae264ee6460f0528829 (diff)
downloaddwsim_flowsheet-805102a54dfff6193c9c796db6731c35a3b497e0.tar.gz
dwsim_flowsheet-805102a54dfff6193c9c796db6731c35a3b497e0.tar.bz2
dwsim_flowsheet-805102a54dfff6193c9c796db6731c35a3b497e0.zip
Merge pull request #32 from Sashi20/drupal_7.x
Table name changed in proposal form
-rwxr-xr-xproposal.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/proposal.inc b/proposal.inc
index 67d60b9..c9a4200 100755
--- a/proposal.inc
+++ b/proposal.inc
@@ -465,8 +465,8 @@ function udc_compound_add_more_callback($form, &$form_state)
function dwsim_flowsheet_proposal_form_validate($form, &$form_state)
{
$project_title = $form_state['values']['project_title'];
- $query = db_select('om_pssp_proposal');
- $query->fields('om_pssp_proposal');
+ $query = db_select('dwsim_flowsheet_proposal');
+ $query->fields('dwsim_flowsheet_proposal');
$query->condition('project_title', $project_title);
$result = $query->execute()->rowCount();
if ($result >= 1)