summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2018-11-24 11:09:40 -0500
committerBrian Evans <grknight@gentoo.org>2018-11-24 11:09:40 -0500
commitd974fda9b75e129b308c8fee7b11ea2870b58d81 (patch)
treec9ccc740b938631717808ee4789eb7a9ec9689e2 /LinkAttributes
parentGentooToolkit: more SWM refinements (diff)
downloadextensions-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.php2
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]] ) ) {