Skip to content

Commit 55d0606

Browse files
authored
Merge pull request #86 from jools-r/main
Readme updates
2 parents 7651d85 + 134c291 commit 55d0606

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.textile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ Create a Textpattern form called "my_com_connect_to_form", containing:
918918

919919
bc(language-markup). <txp:php>
920920
global $com_connect_form;
921-
switch($com_connect_form['Department'])
921+
switch($com_connect_form['Department'][0])
922922
{
923923
case 'Support':
924924
@@ -931,7 +931,7 @@ bc(language-markup). <txp:php>
931931
}
932932
</txp:php>
933933

934-
The @label@ used in the @com_connect_select@ tag must be identical to the corresponsing variable in the @to_form@. Here we used @Department@.
934+
The @label@ used in the @com_connect_select@ tag must be identical to the corresponding variable in the @to_form@. Here we used @Department@.
935935

936936
A 'default' email address in the @to_form@ is specified to ensure that a valid email address is used in cases where you add or change a select/radio option and forget to update the @to_form@.
937937

0 commit comments

Comments
 (0)