diff --git a/VERSION_HOTLINE/53250 b/VERSION_HOTLINE/53250
new file mode 100644
index 0000000000000000000000000000000000000000..8f952cecc3748efb7da4c646716a196acf9bdd27
--- /dev/null
+++ b/VERSION_HOTLINE/53250
@@ -0,0 +1 @@
+ - ticket #53250 : vignettes sitothèques: adaptation aux modifications d'API de Bluga.net
\ No newline at end of file
diff --git a/library/Bluga/Webthumb.php b/library/Bluga/Webthumb.php
index cdadc39ba97e4f97e6f53fc1de5dc15aa61c8d92..1eee908b16cda4af2528b2aedc2032ffefd07ede 100755
--- a/library/Bluga/Webthumb.php
+++ b/library/Bluga/Webthumb.php
@@ -43,9 +43,9 @@
  * Fix all the bugs and make things work with any PEAR2 adapter
  *
  * 1.7 - 02/09/2009 - Josh
- * Lots of bug fixes since the last changelog entry, added failedJobs array for tracking jobs 
+ * Lots of bug fixes since the last changelog entry, added failedJobs array for tracking jobs
  * that don't submit properly
- * 
+ *
  * 1.8 - 09/09/2009 - Josh
  * Bug fixes and bring PEAR2 code back in the Bluga namespace
  */
@@ -178,7 +178,7 @@ class Bluga_Webthumb {
         $request->apikey = $this->apiKey;
         $request->jobs = $this->jobs;
         $request->apiversion = $this->apiVersion;
-	
+
         $payload  = $request->asXml();
         $response = $this->_transmitRequest($payload);
 
@@ -389,7 +389,7 @@ class Bluga_Webthumb {
         if (!isset($response->headers['Content-Type'])) {
             throw new Exception('No Content-Type in response.');
         }
-        if ($response->headers['Content-Type'] != 'text/xml') {
+        if (false === strpos($response->headers['Content-Type'], 'text/xml')) {
             throw new Exception('There was an error. Content-Type returned was '.$response->headers['Content-Type']."\n".$response);
         }
 
@@ -479,7 +479,7 @@ class Bluga_Webthumb {
                 $ext = 'png';
             }
             $filename .= '.'.$ext;
-        } 
+        }
 
         if (!is_null($outDir)) {
             $filename = "$outDir/$filename";