From d974fda9b75e129b308c8fee7b11ea2870b58d81 Mon Sep 17 00:00:00 2001 From: Brian Evans Date: Sat, 24 Nov 2018 11:09:40 -0500 Subject: LinkAttributes: Fix syntax error from upstream Signed-off-by: Brian Evans --- LinkAttributes/LinkAttributes.body.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'LinkAttributes') diff --git a/LinkAttributes/LinkAttributes.body.php b/LinkAttributes/LinkAttributes.body.php index da3ba368..9dc05195 100644 --- a/LinkAttributes/LinkAttributes.body.php +++ b/LinkAttributes/LinkAttributes.body.php @@ -23,7 +23,7 @@ class LinkAttributes { $pair = explode( '=', $a ); /* Only go ahead if we have a aaa=bbb pattern, and aaa i an allowed attribute */ - if ( isset( $pair[1] ) && in_array( $pair[0], self::attrsAllowed ) ) { + if ( isset( $pair[1] ) && in_array( $pair[0], static::attrsAllowed ) ) { /* Add to existing attribute, or create a new */ if ( isset( $attribs[$pair[0]] ) ) { -- cgit v1.2.3-65-gdbad