]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/util.php
fixed a %d that should be a %s in an error message
[quix0rs-gnu-social.git] / lib / util.php
index 9f62097d544a28acf4a53f50633bc2a7a867b212..66600c766f023768634f4c3939c521d0ddde95ce 100644 (file)
@@ -830,7 +830,10 @@ function common_linkify($url) {
         } elseif (is_string($longurl_data)) {
             $longurl = $longurl_data;
         } else {
-            throw new ServerException("Can't linkify url '$url'");
+            // Unable to reach the server to verify contents, etc
+            // Just pass the link on through for now.
+            common_log(LOG_ERR, "Can't linkify url '$url'");
+            $longurl = $url;
         }
     }
     $attrs = array('href' => $canon, 'title' => $longurl, 'rel' => 'external');