Completed
Push — 1.0 ( 309b8e...747f31 )
by Nikita
07:23 queued 05:07
created
app/code/community/Mygento/Metrika/Block/Tracker/Success.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,6 +36,6 @@
 block discarded – undo
36 36
                 )
37 37
             )
38 38
         );
39
-        return '<script>dataLayer.push(' . Mage::helper('core')->jsonEncode($data) . ');</script>' . "\n";
39
+        return '<script>dataLayer.push('.Mage::helper('core')->jsonEncode($data).');</script>'."\n";
40 40
     }
41 41
 }
Please login to merge, or discard this patch.
app/code/community/Mygento/Metrika/Block/Tracker/Product.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,6 +36,6 @@
 block discarded – undo
36 36
                 )
37 37
             )
38 38
         );
39
-        return '<script>dataLayer.push(' . Mage::helper('core')->jsonEncode($data) . ');</script>' . "\n";
39
+        return '<script>dataLayer.push('.Mage::helper('core')->jsonEncode($data).');</script>'."\n";
40 40
     }
41 41
 }
Please login to merge, or discard this patch.