From: Evan Prodromou Date: Tue, 14 Apr 2009 20:01:02 +0000 (-0400) Subject: escape slash in regexp X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b1940bcb7b028b993b26cd3c36f4fdbbc79c96e6;p=quix0rs-gnu-social.git escape slash in regexp --- diff --git a/plugins/LinkbackPlugin.php b/plugins/LinkbackPlugin.php index 56a26176b1..881ead99ec 100644 --- a/plugins/LinkbackPlugin.php +++ b/plugins/LinkbackPlugin.php @@ -99,7 +99,7 @@ class LinkbackPlugin extends Plugin if (array_key_exists('X-Pingback', $result->headers)) { $pb = $result->headers['X-Pingback']; - } else if (preg_match('//', + } else if (preg_match('//', $result->body, $match)) { $pb = $match[1];