diff options
author | Brian Evans <grknight@gentoo.org> | 2018-11-24 11:09:40 -0500 |
---|---|---|
committer | Brian Evans <grknight@gentoo.org> | 2018-11-24 11:09:40 -0500 |
commit | d974fda9b75e129b308c8fee7b11ea2870b58d81 (patch) | |
tree | c9ccc740b938631717808ee4789eb7a9ec9689e2 /LinkAttributes | |
parent | GentooToolkit: more SWM refinements (diff) | |
download | extensions-d974fda9b75e129b308c8fee7b11ea2870b58d81.tar.gz extensions-d974fda9b75e129b308c8fee7b11ea2870b58d81.tar.bz2 extensions-d974fda9b75e129b308c8fee7b11ea2870b58d81.zip |
LinkAttributes: Fix syntax error from upstream
Signed-off-by: Brian Evans <grknight@gentoo.org>
Diffstat (limited to 'LinkAttributes')
-rw-r--r-- | LinkAttributes/LinkAttributes.body.php | 2 |
1 files changed, 1 insertions, 1 deletions
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]] ) ) { |