summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdwsim_flowsheet.module2
-rwxr-xr-xproposal.inc2
2 files changed, 2 insertions, 2 deletions
diff --git a/dwsim_flowsheet.module b/dwsim_flowsheet.module
index 48a865f..e3cdb7e 100755
--- a/dwsim_flowsheet.module
+++ b/dwsim_flowsheet.module
@@ -670,7 +670,7 @@ function _df_list_of_dwsim_compound()
$dwsim_compound = array();
$query = db_select('dwsim_flowsheet_compounds_from_dwsim');
$query->fields('dwsim_flowsheet_compounds_from_dwsim');
- $query->orderBy('id', 'ASC');
+ $query->orderBy('compound', 'ASC');
$dwsim_compound_list = $query->execute();
while ($dwsim_compound_list_data = $dwsim_compound_list->fetchObject())
{
diff --git a/proposal.inc b/proposal.inc
index 6564ae7..41a6508 100755
--- a/proposal.inc
+++ b/proposal.inc
@@ -26,7 +26,7 @@ function dwsim_flowsheet_proposal_form($form, &$form_state, $no_js_use = FALSE)
/************************ start approve book details ************************/
if ($user->uid == 0)
{
- $msg = drupal_set_message(t('It is mandatory to ' . l('login', 'user') . ' on this website to access the lab proposal form. If you are new user please create a new account first.'), 'error');
+ $msg = drupal_set_message(t('It is mandatory to ' . l('login', 'user') . ' on this website to access the flowsheet proposal form. If you are new user please create a new account first.'), 'error');
//drupal_goto('dwsim-flowsheet-project');
drupal_goto('user');
return $msg;