From c7307eefadc3306b4b8dd22be7db30d81b3d6aeb Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Mon, 17 Nov 2008 22:05:56 +0000 Subject: [PATCH] BUGFIX Fixed HTTP->findByTagAndAttribute missing variable error causing HtmlEditorField to break since it used HTTP::getLinksIn() git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.3@66070 467b73ca-7a2a-4603-9d3b-597d59a354a9 --- core/HTTP.php | 1 + 1 file changed, 1 insertion(+) diff --git a/core/HTTP.php b/core/HTTP.php index fb12e5521..04f7d818a 100644 --- a/core/HTTP.php +++ b/core/HTTP.php @@ -105,6 +105,7 @@ class HTTP { static function findByTagAndAttribute($content, $attribs) { $regExps = array(); + $content = ''; foreach($attribs as $tag => $attrib) { if(!is_numeric($tag)) $tagPrefix = "$tag ";