Skip to content

Commit

Permalink
Fix variable typo
Browse files Browse the repository at this point in the history
  • Loading branch information
waldoj committed Jan 3, 2024
1 parent 8229c5d commit 2c99c8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ function show_form($form_data)
/*
* Spammers have no referrer -- block them.
*/
if ( !isset($SERVER['HTTP_REFERER']) || $SERVER['HTTP_REFERER'] == '' )
if ( !isset($_SERVER['HTTP_REFERER']) || $_SERVER['HTTP_REFERER'] == '' )
{
die();
}
Expand Down

0 comments on commit 2c99c8e

Please sign in to comment.