Avoid fatal error.
authorJan Schneider <jan@horde.org>
Mon, 14 Sep 2009 12:10:20 +0000 (14:10 +0200)
committerJan Schneider <jan@horde.org>
Mon, 14 Sep 2009 12:10:20 +0000 (14:10 +0200)
framework/Release/lib/Horde/Release.php

index f4e24f6..feade54 100644 (file)
@@ -687,6 +687,8 @@ class Horde_Release
         } catch (Horde_Http_Client_Exception $e) {
             if (strpos($e->getMessage(), '201 Created') === false) {
                 throw new Horde_Exception($e);
+            } else {
+                return '';
             }
         }