mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Screenshots:
fixed sql-error in manager Comments: no longer appear as upvoted for anonymous user can be voted on, again Class detail page: removed default limit on class ability query (300). now shows all spells Filter/Items: added missing table-prefix; fixed search for iconString Spells/Search: display triggered player abilities as misc. spells. (previously hidden) Misc: removed some obscure piece of old config
This commit is contained in:
@@ -408,7 +408,7 @@ class AjaxHandler
|
||||
$result = ['success' => 1, 'up' => 0, 'down' => 0];
|
||||
break;
|
||||
case 'vote': // up, down and remove
|
||||
if (!User::$id || !$this->get('id') || $this->get('rating'))
|
||||
if (!User::$id || !$this->get('id') || !$this->get('rating'))
|
||||
{
|
||||
$result = ['error' => 1, 'message' => Lang::main('genericError')];
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user