mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 15:56:07 -07:00
Fix Arnie going out of range.
Fix link on home stats top user to use the user_id.
This commit is contained in:
parent
a1f52d2bc8
commit
9a5348dbfa
2 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ DOCUMENTATION :: END
|
|||
<div class="home-platforms-instance">
|
||||
<li>
|
||||
<span>
|
||||
<a href="user?user=${a['rows'][0]['user']}">
|
||||
<a href="user?user_id=${a['rows'][0]['user_id']}">
|
||||
% if a['rows'][0]['thumb'] != '':
|
||||
<img class="home-platforms-instance-oval" src="${a['rows'][0]['thumb']}"
|
||||
class="poster-face">
|
||||
|
|
|
@ -1044,5 +1044,5 @@ class WebInterface(object):
|
|||
'I\'m a cop you idiot!'
|
||||
]
|
||||
|
||||
random_number = randint(0, len(quote_list))
|
||||
random_number = randint(0, len(quote_list) - 1)
|
||||
return quote_list[int(random_number)]
|
Loading…
Add table
Add a link
Reference in a new issue