Fix undefined index quantity on Downloads Cart widget

Dragging widget into sidebar produces an undefined index
Merge pull request #973 from sumobi/master

Fix undefined index quantity on Downloads Cart widget