CMS MADE SIMPLE FORGE

Orders

 

[#11244] PHP Warning if Orders called without 'extra' data

avatar
Created By: Chris Taylor (chrisbt)
Date Submitted: Wed Dec 21 09:51:34 -0500 2016

Assigned To: Robert Campbell (calguy1000)
Version: 1.18.4
CMSMS Version: 2.1.6
Severity: Minor
Resolution: None
State: Open
Summary:
PHP Warning if Orders called without 'extra' data
Detailed Description:
Warning: Invalid argument supplied for foreach() in
/.../modules/Orders/lib/class.orders_order.php on line 512

line: 509

    if( isset($data['extra']) ) {

to:

    if( !empty($data['extra']) ) {


History

Updates

Updated: 2016-12-21 09:55
version_id: -1 => 30950

Updated: 2016-12-21 09:52
description: Warning: Invalid argument supplied for foreach() in /home/binnodev/public_html/cms-bi-default/modules/Orders/lib/class.orders_order.php on line 512 line: 509 if( isset($data['extra']) ) { to: if( !empty($data['extra']) ) { => Warning: Invalid argument supplied for foreach() in /.../modules/Orders/lib/class.orders_order.php on line 512 line: 509 if( isset($data['extra']) ) { to: if( !empty($data['extra']) ) {
resolution_id: => 5