Skip to content

Commit

Permalink
fix "Undefined constant" error when using php8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
joshp23 committed Mar 12, 2021
1 parent 90e1609 commit e83e325
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions httpBL/plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Plugin Name: HTTP:BL
Plugin URI: https://github.com/joshp23/YOURLS-httpBL
Description: An implementation of Project Honeypot's http:BL for YOURLS
Version: 2.5.0
Version: 2.5.1
Author: Josh Panter
Author URI: https://unfettered.net
**/
Expand Down Expand Up @@ -1091,7 +1091,7 @@ function httpBL_ip_API() {
*
*
*/
if ( yourls_get_option( httpBL_honeypot) )
if ( yourls_get_option( 'httpBL_honeypot' ) )
yourls_add_filter( 'html_footer_text', 'httpBL_footer' );
function httpBL_footer( $footer ) {
return $footer . "\n" . httpBL_link() . "\n";
Expand Down

0 comments on commit e83e325

Please sign in to comment.