
Originally Posted by
Gozzandes
An error occurs in the following php.
\www\includes\modules\payment\stripepay\create.php line 69
Please change from
$order->info['comments'] =$_SESSION['order_add_comment'];
to
if(isset($order_add_comment)){
$order->info['comments'] =$_SESSION['order_add_comment'];
}
This fix will be included in the next update.
hmmmm....
in looking at the code (which i think is the latest download and for v158) i see:
PHP Code:
//---comments---
if($order->info['comments']!=""){
$order_add_comment = $order->info['comments'];
$_SESSION['order_add_comment'] = $order_add_comment;
}
$order->info['comments'] =$_SESSION['order_add_comment'];
line 69 being the last line...
why is that line even needed? makes little sense to me.... it seems like one could delete that line with no ill effect...
adding another conditional seem completely unnecessary.
Bookmarks