Skip to content

Commit 7bbcac3

Browse files
committed
fixed vote counting
1 parent 96771c8 commit 7bbcac3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

resources/views/welcome.blade.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@
8888
<div class="d-flex justify-content-between align-items-center">
8989
<div class="btn-group">
9090
<button type="button" class="btn btn-sm btn-outline-secondary">
91-
<a href="/track.php?vote_method=up&photoID={{$photo->photoid}}"><span class="oi oi-arrow-thick-top"></span></a>
91+
<a href="/track.php?vote_method=up&photoID={{$photo->picID}}"><span class="oi oi-arrow-thick-top"></span></a>
9292
</button>
9393
<button type="button" class="btn btn-sm btn-outline-secondary">
94-
<a href="/track.php?vote_method=down&photoID={{$photo->photoid}}"><span class="oi oi-arrow-thick-bottom"></span></a>
94+
<a href="/track.php?vote_method=down&photoID={{$photo->picID}}"><span class="oi oi-arrow-thick-bottom"></span></a>
9595
</button>
9696
</div>
9797
<small class="text-muted">{{ $photo->Votes}} votes</small>

0 commit comments

Comments
 (0)