Skip to content

Commit 02d87b4

Browse files
committed
Prep for 4.9.0-beta
1 parent f2145cf commit 02d87b4

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.textile

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

908908
bc(language-markup). <txp:php>
909909
global $com_connect_form;
910-
switch($com_connect_form['Department'])
910+
switch($com_connect_form['Department'][0])
911911
{
912912
case 'Support':
913913
echo 'crew@example.com';
@@ -920,7 +920,7 @@ bc(language-markup). <txp:php>
920920
}
921921
</txp:php>
922922

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

925925
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@.
926926

com_connect.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
// 1 = Plugin help is in raw HTML. Not recommended.
1818
# $plugin['allow_html_help'] = 1;
1919

20-
$plugin['version'] = '4.9.0';
20+
$plugin['version'] = '4.9.0-beta';
2121
$plugin['author'] = 'Textpattern Community';
2222
$plugin['author_uri'] = 'https://forum.textpattern.io/viewtopic.php?id=47913';
2323
$plugin['description'] = 'Form and contact mailer for Textpattern';
@@ -3010,7 +3010,7 @@ function com_connect_fields($atts, $thing = '')
30103010

30113011
bc(language-markup). <txp:php>
30123012
global $com_connect_form;
3013-
switch($com_connect_form['Department'])
3013+
switch($com_connect_form['Department'][0])
30143014
{
30153015
case 'Support':
30163016
echo 'crew@example.com';
@@ -3023,7 +3023,7 @@ function com_connect_fields($atts, $thing = '')
30233023
}
30243024
</txp:php>
30253025

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

30283028
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@.
30293029

0 commit comments

Comments
 (0)