summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Evans <grknight@gentoo.org>2018-11-24 11:36:15 -0500
committerBrian Evans <grknight@gentoo.org>2018-11-24 11:36:15 -0500
commit1e0ead07ecfe357516415a2ed514dbd67833f881 (patch)
treeb6c1a9437ca0f68d9f8111bc43674baa6f98257d
parentLinkAttributes: Fix syntax error from upstream (diff)
downloadextensions-1e0ead07ecfe357516415a2ed514dbd67833f881.tar.gz
extensions-1e0ead07ecfe357516415a2ed514dbd67833f881.tar.bz2
extensions-1e0ead07ecfe357516415a2ed514dbd67833f881.zip
LinkAttributes: One further syntax error
Signed-off-by: Brian Evans <grknight@gentoo.org>
-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 9dc05195..e0c112c3 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], static::attrsAllowed ) ) {
+ if ( isset( $pair[1] ) && in_array( $pair[0], static::$attrsAllowed ) ) {
/* Add to existing attribute, or create a new */
if ( isset( $attribs[$pair[0]] ) ) {