Last modified: 2010-05-15 15:54:46 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 14169 - Notice about undefined variable $stack in Title::getParentCategoryTree metod
Notice about undefined variable $stack in Title::getParentCategoryTree metod
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.12.x
PC Windows XP
: Normal minor (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-18 11:08 UTC by Alexander Obuhovich
Modified: 2010-05-15 15:54 UTC (History)
1 user (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Alexander Obuhovich 2008-05-18 11:08:46 UTC
Notice about undefined variable $stack in Title::getParentCategoryTree metod. Problem is in this code:
if($parents != '') {
....
}
because in 1.11 version metod Title::getParentCategories used by this one returned empty string, when no parent categories were found. Now (in 1.12) it returns empty array.

I propose to change condition, mentioned above to:
if($parents) {
....
}
Comment 1 Aaron Schulz 2008-05-18 16:10:10 UTC
Fixed in r35021

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links