Skip to content
This repository was archived by the owner on May 19, 2025. It is now read-only.

Commit e83e325

Browse files
committed
fix "Undefined constant" error when using php8.0
1 parent 90e1609 commit e83e325

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

httpBL/plugin.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Plugin Name: HTTP:BL
44
Plugin URI: https://github.com/joshp23/YOURLS-httpBL
55
Description: An implementation of Project Honeypot's http:BL for YOURLS
6-
Version: 2.5.0
6+
Version: 2.5.1
77
Author: Josh Panter
88
Author URI: https://unfettered.net
99
**/
@@ -1091,7 +1091,7 @@ function httpBL_ip_API() {
10911091
*
10921092
*
10931093
*/
1094-
if ( yourls_get_option( httpBL_honeypot) )
1094+
if ( yourls_get_option( 'httpBL_honeypot' ) )
10951095
yourls_add_filter( 'html_footer_text', 'httpBL_footer' );
10961096
function httpBL_footer( $footer ) {
10971097
return $footer . "\n" . httpBL_link() . "\n";

0 commit comments

Comments
 (0)