Skip to content

Commit 7651d85

Browse files
committed
Add doctype variable to com_connect_lAtts()
1 parent f38015d commit 7651d85

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

com_connect.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1673,6 +1673,8 @@ function com_connect_group_validate()
16731673
*/
16741674
function com_connect_lAtts($pairs, $atts)
16751675
{
1676+
$doctype = get_pref('doctype', 'xhtml');
1677+
16761678
foreach (array('button', 'copysender', 'checked', 'required', 'send_article', 'show_input', 'show_error') as $key) {
16771679
if (isset($atts[$key])) {
16781680
$atts[$key] = ($atts[$key] === 'yes' || intval($atts[$key])) ? 1 : 0;

0 commit comments

Comments
 (0)