Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc small bugfixes #53

Merged
merged 2 commits into from
Nov 28, 2020
Merged

Misc small bugfixes #53

merged 2 commits into from
Nov 28, 2020

Conversation

itinerare
Copy link
Collaborator

  • Fix design update index display showing vote counts erroneously
  • Fix admin user index link not directing to user edit page
  • Fix user profile inventory display showing items with a count of 0

Fixing misc small issues as reported by folks/the bug report channel. No specific actions needed.

- Fix admin user index link not directing to user edit page
- Fix user profile inventory display showing items with a count of 0
@itinerare itinerare added the needs review Pull requests that are pending community review label Nov 28, 2020
Copy link
Collaborator

@Draginraptor Draginraptor left a comment

Choose a reason for hiding this comment

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

Did comment bout the increment thing but I still think it's good for merging

$approveSum = 0;
foreach($r->voteData as $voter=>$vote) {
if($vote == 1) $rejectSum += 1;
if($vote == 2) $approveSum += 1;
Copy link
Collaborator

Choose a reason for hiding this comment

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

You could use increment (++$var or $var++) for these :>

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Could, but given it works and it's just fixing the fact that it was being displayed when it shouldn't have been, I'm (shrugs) about it
Comment still appreciated though!

@itinerare itinerare added reviewed Pull requests that have received community review and are pending merge and removed needs review Pull requests that are pending community review labels Nov 28, 2020
@itinerare itinerare merged commit e526179 into corowne:develop Nov 28, 2020
@corowne corowne mentioned this pull request Dec 6, 2020
28 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reviewed Pull requests that have received community review and are pending merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants