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=98f6bbb90c8513330a4c382ef80972d861096858;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];