Give the gift of Drupal. All merchandise is 50% off through 2016.
Need to make sure things are an array before performing operations.
This shouldn't be necessary - seems like a fix of the symptom instead of the cause. How do you run into the issue?
This was required for me when I upgraded my Commerce Site to the php-5.4.30-36.el6.art.x86_64.rpm on CentOS.
Can't reproduce the issue in 7.x-2.9. Closing the issue for now.
Drupal is a registered trademark of Dries Buytaert.