Commit 2a57a443 authored by Lyding Verena's avatar Lyding Verena
Browse files

bug repair

git-svn-id: https://sdcsvn01.eurac.edu/svn/commul/MERLIN/merlin-webpage@4111 71ad02bc-cbdd-11db-a10a-ee346e295fe1
parent a075a56a
......@@ -170,28 +170,28 @@ function process_post(){
// no fine selection
if(preg_match("/all_.*/", $_POST['lfeat1_2'])){
if($_POST['lfeat1_1']=='grammar'){
$elements .= ' & EA_category=/G_.*/';
$elements .= 'EA_category=/G_.*/';
}
else if($_POST['lfeat1_1']=='orthog'){
$elements .= ' & EA_category=/O_.*/';
$elements .= 'EA_category=/O_.*/';
}
else if($_POST['lfeat1_1']=='general'){
$elements .= ' & EA_category=/H_.*/';
$elements .= 'EA_category=/H_.*/';
}
else if($_POST['lfeat1_1']=='voc'){
$elements .= ' & EA_category=/V_.*/';
$elements .= 'EA_category=/V_.*/';
}
else if($_POST['lfeat1_1']=='coherence'){
$elements .= ' & EA_category=/C_.*/';
$elements .= 'EA_category=/C_.*/';
}
else if($_POST['lfeat1_1']=='socioling'){
$elements .= ' & EA_category=/S_.*/';
$elements .= 'EA_category=/S_.*/';
}
else if($_POST['lfeat1_1']=='pragmatics'){
$elements .= ' & EA_category=/P_.*/';
$elements .= 'EA_category=/P_.*/';
}
else{
$elements .= ' & EA_category=/X_/';
$elements .= 'EA_category=/X_/';
}
}
else{ // only fine selection
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment