Browse Source

print array correctly, and delete form language info

tags/stw2018
Max Mehl 9 months ago
parent
commit
18688b7c9a
Signed by: max.mehl <max.mehl@fsfe.org> GPG Key ID: 2704E4AB371E2E92
1 changed files with 3 additions and 4 deletions
  1. 3
    4
      cgi-bin/promotion.php

+ 3
- 4
cgi-bin/promotion.php View File

@@ -151,17 +151,16 @@ if ($_POST['packagetype'] == 'default') {
$msg .= "Custom package:\n".
"{$_POST['specifics']}\n";
}
$languages = implode(',',$_POST['languages']);
$msg .= "\n".
"Preferred language(s) (if available):\n".
"{$_POST['languages']}\n".
"{$languages}\n".
"\n".
"The material is going to be used for:\n".
"{$_POST['usage']}\n".
"\n".
"Comments:\n".
"{$_POST['comment']}\n".
"\n".
"Preferred language was: {$_POST['language']}\n";
"{$_POST['comment']}\n";

if (isset($_POST['donate']) && ($_POST['donate'] > 0)) {
$_POST['donationID'] = "DAFSPCK".gen_alnum(5);

Loading…
Cancel
Save