Skip to content
This repository was archived by the owner on Feb 4, 2024. It is now read-only.

Commit 1434a54

Browse files
committed
Fix Undefined index error
1 parent f06eb1f commit 1434a54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

includes/Skin2018Template.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public function execute() {
1414
if ( isset( $this->data['content_navigation']['actions']['watch'] ) ) {
1515
$this->data['watch_indicator'] = $this->data['content_navigation']['actions']['watch'];
1616
unset( $this->data['content_navigation']['actions']['watch'] );
17-
} else {
17+
} elseif ( isset( $this->data['content_navigation']['actions']['unwatch'] ) ){
1818
$this->data['watch_indicator'] = $this->data['content_navigation']['actions']['unwatch'];
1919
unset( $this->data['content_navigation']['actions']['unwatch'] );
2020
}

0 commit comments

Comments
 (0)