Issue #1664188 by mattcasey: Fix foreach warnings when visiting uc_ajax_cart/update with no POST data