mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/CategoryTree
synced 2024-11-30 19:16:15 +00:00
Fix comparison operator in CategoryTreePage#execute
This change is a follow up to a892ae21f7
.
Change-Id: Ic71c6f0e57fb2680f5653aac1744132c1f8e64fa
This commit is contained in:
parent
a892ae21f7
commit
379e090bbc
|
@ -79,7 +79,7 @@ class CategoryTreePage extends SpecialPage {
|
||||||
$this->target = trim( $par );
|
$this->target = trim( $par );
|
||||||
} else {
|
} else {
|
||||||
$this->target = trim( $request->getVal( 'target', '' ) );
|
$this->target = trim( $request->getVal( 'target', '' ) );
|
||||||
if ( $this->target !== '' ) {
|
if ( $this->target === '' ) {
|
||||||
$rootcategory = $this->msg( 'rootcategory' );
|
$rootcategory = $this->msg( 'rootcategory' );
|
||||||
if ( $rootcategory->exists() ) {
|
if ( $rootcategory->exists() ) {
|
||||||
$this->target = $rootcategory->text();
|
$this->target = $rootcategory->text();
|
||||||
|
|
Loading…
Reference in a new issue