Fixing php warning when emptying cart.

Signed-off-by: Zane M. Kolnik <zanematthew@gmail.com>