VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: GJC Web Design on October 25, 2013, 19:13:21 PM

Title: Tiny tiny bug (but have to fix on every install)
Post by: GJC Web Design on October 25, 2013, 19:13:21 PM
VM2.0.24   plugins/vmpayment/paypal/paypal.php line 248

on the paypal plugin html display the closing div is missing causing the right column to drop under when the button and message show


$html = '<div style="margin: auto; text-align: center;">';
$html .= '<form action="' . "https://" . $url . '" method="post" name="vm_paypal_form"  accept-charset="UTF-8">';
$html .= '<input type="submit"  value="' . JText::_('VMPAYMENT_PAYPAL_REDIRECT_MESSAGE') . '" />';
$html .= '<input type="hidden" name="charset" value="utf-8">';
foreach ($post_variables as $name => $value) {
$html .= '<input type="hidden" name="' . $name . '" value="' . htmlspecialchars($value) . '" />';
}
$html .= '</form>';


needs

$html .= '</form></div>';

cheers
Title: Re: Tiny tiny bug (but have to fix on every install)
Post by: Milbo on October 25, 2013, 20:02:14 PM
thx