Browse files

[-] MO: file_put_contents return length instead of true in trustedshops

  • Loading branch information...
1 parent b621eaa commit 424626c169d7fb1038f94e2b3f8168442de1292d @gRoussac gRoussac committed Feb 14, 2013
Showing with 3 additions and 3 deletions.
  1. +1 −1 trustedshops/WidgetCache.php
  2. +1 −1 trustedshops/config.xml
  3. +1 −1 trustedshops/trustedshops.php
View
2 trustedshops/WidgetCache.php
@@ -45,7 +45,7 @@ public function isFresh($timeout = 10800)
public function refresh()
{
- return file_put_contents($this->_fileName, file_get_contents('https://www.trustedshops.com/bewertung/widget/widgets/'.$this->_ts_id.'.gif'));
+ return (bool)file_put_contents($this->_fileName, file_get_contents('https://www.trustedshops.com/bewertung/widget/widgets/'.$this->_ts_id.'.gif'));
}
}
View
2 trustedshops/config.xml
@@ -2,7 +2,7 @@
<module>
<name>trustedshops</name>
<displayName><![CDATA[Trusted Shops trust solutions]]></displayName>
- <version><![CDATA[1.3.4]]></version>
+ <version><![CDATA[1.3.6]]></version>
<description><![CDATA[Build confidence in your online shop with the Trusted Shops quality seal, buyer protection and customer rating.]]></description>
<author><![CDATA[PrestaShop]]></author>
<tab><![CDATA[payment_security]]></tab>
View
2 trustedshops/trustedshops.php
@@ -55,7 +55,7 @@ public function __construct()
$this->name = 'trustedshops';
$this->tab = 'payment_security';
- $this->version = '1.3.5';
+ $this->version = '1.3.6';
$this->author = 'PrestaShop';
parent::__construct();

0 comments on commit 424626c

Please sign in to comment.