Skip to content

Commit

Permalink
paypal
Browse files Browse the repository at this point in the history
  • Loading branch information
ivywe committed Mar 24, 2017
1 parent 7394153 commit 9dbde91
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion extended/plugins/paypal/functions.inc
Expand Up @@ -1139,6 +1139,7 @@ function PAYPAL_displayProducts ($pid = '', $autotag=0, $category = '', $column
$product->set_var('cs', $_PAY_CONF['cs']);
$product->set_var('cs', $_PAY_CONF['cs']);
$product->set_var('charset', $_CONF['default_charset']);
$product->set_var('category', $category);

if ($_PAY_CONF['image_url']) {
$product->set_var('image_url', $_PAY_CONF['image_url']);
Expand Down Expand Up @@ -1335,7 +1336,7 @@ function PAYPAL_displayProducts ($pid = '', $autotag=0, $category = '', $column

if (($A['hidden'] == 0) || SEC_hasRights('paypal.admin')) {
if ($_PAY_CONF['products_col'] == 1) {
$p_retval .= '<tr class="uk-grid">' . $product->parse('', 'product') . '</tr>';
$p_retval .= $product->parse('', 'product') ;
} else if ($col_number == $_PAY_CONF['products_col']) {
$p_retval .= $product->parse('', 'product') . '</tr>';
$col_number = 1;
Expand Down

0 comments on commit 9dbde91

Please sign in to comment.