User tests: Successful: Unsuccessful:
line 382 assigns $this->_children = false, but count(boolean) is always 1, that causes the sorting block to execute and fail with fatal error.
if ($this->_children) would fix this bug,
if (count($this->_children) > 1) fixes the bug and skips sorting of one-member arrays
Pull Request for Issue #14873.
Status | New | ⇒ | Pending |
Category | ⇒ | Front End com_content |
Labels |
Added:
?
|
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-01-17 18:06:16 |
Closed_By | ⇒ | Quy | |
Rel_Number | 0 | ⇒ | 19396 |
Relation Type | ⇒ | Related to |
Closed_Date | 2018-01-17 18:06:16 | ⇒ | 2018-01-17 18:06:17 |
Closed_By | Quy | ⇒ | joomla-cms-bot |
Rel_Number | 19396 | ⇒ | 0 |
Relation Type | Related to | ⇒ |
See #19396
Set to "closed" on behalf of @Quy by The JTracker Application at issues.joomla.org/joomla-cms/14982