// Merge 1.4 => 1.5

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9819 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
vSchoener
2011-11-03 10:07:19 +00:00
parent 2d64b31bfb
commit 1fbf610497
3 changed files with 14 additions and 5 deletions
+2 -2
View File
@@ -63,8 +63,8 @@
function GoogleItem($name, $desc, $qty, $price, $item_weight='', $numeric_weight='') {
$this->item_name = $name;
$this->item_description= $desc;
$this->unit_price = $price;
$this->quantity = $qty;
$this->unit_price = (float)$price;
$this->quantity = (int)$qty;
if($item_weight != '' && $numeric_weight !== '') {
switch(strtoupper($item_weight)){