Skip to content

Commit

Permalink
Merge pull request #209 from scify/master
Browse files Browse the repository at this point in the history
Bugfix
  • Loading branch information
PavlosIsaris authored Dec 13, 2024
2 parents 2bd3ec6 + a0a2e88 commit 306d3da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/Repository/Solution/SolutionUpvoteRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function getModelClassName() {

public function getNumberOfVotesForUser(int $user_id, array $solution_ids): int {
return SolutionUpvote::whereIn('solution_id', $solution_ids)
->where('user_id', $user_id)
->where('user_voter_id', $user_id)
->get()
->count();
}
Expand Down
2 changes: 1 addition & 1 deletion resources/views/home/partials/ecas/footer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class="fas fa-rss"></span>
<div class="lower-footer">
Copyright &copy; {{ date("Y") }} <a target=" _blank"
href="https://ecas.org">ECAS.org</a>
All rights reserved. | Version {{ config("app.version")}}
All rights reserved. | Version <pre class="d-inline">{{ config("app.version")}}</pre>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion resources/views/home/partials/together/footer.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ class="fas fa-rss"></span>
<div class="lower-footer">
Copyright &copy; {{ date("Y") }} <a target=" _blank"
href="https://scify.org/en">SciFY</a>
All rights reserved. | Version {{ config("app.version")}}
All rights reserved. | Version <pre class="d-inline">{{ config("app.version")}}</pre>
</div>
</div>
</div>
Expand Down

0 comments on commit 306d3da

Please sign in to comment.