Fix Arnie going out of range.
Fix link on home stats top user to use the user_id.
This commit is contained in:
@@ -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)]
|
Reference in New Issue
Block a user