Skip to content

Conversation

@sualko
Copy link
Member

@sualko sualko commented Aug 25, 2018

This fixes a regression introduced in the upcoming NC 14.

@sualko sualko requested a review from nickvergessen August 25, 2018 15:31
Signed-off-by: Klaus Herberth <klaus@jsxc.org>
return $this->sections[$type];
}

foreach ($this->sectionClasses[$type] as $index => $class) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

foreach ($this->sectionClasses[$type] as $class) { works in php

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes, but I need the index a couple of lines below

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah in the unset.

@rullzer rullzer added this to the Nextcloud 14 milestone Aug 26, 2018
@MorrisJobke MorrisJobke mentioned this pull request Aug 26, 2018
6 tasks
Copy link
Member

@blizzz blizzz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good and works

@MorrisJobke MorrisJobke merged commit c6b1c21 into master Aug 28, 2018
@MorrisJobke MorrisJobke deleted the fix-10764 branch August 28, 2018 15:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews regression

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants