Skip to content

Commit

Permalink
Ensure SP::$javascript isn't false before checking the GET parameter.
Browse files Browse the repository at this point in the history
  • Loading branch information
rmccue committed Mar 31, 2011
1 parent d5f2d6b commit 545b862
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SimplePie/Core.php
Expand Up @@ -1472,7 +1472,7 @@ public function init()
}
}

if (isset($_GET[$this->javascript]))
if ($this->javascript !== false && isset($_GET[$this->javascript]))
{
SimplePie_Misc::output_javascript();
exit;
Expand Down

0 comments on commit 545b862

Please sign in to comment.