mirror of
https://github.com/Sarjuuk/aowow.git
synced 2025-11-29 15:58:16 +08:00
Fixups
* undefined variables in Markup.js * logic error preventing screenshot uploads * bitshift by negative value in spell * and i'm pretty sure i already added an exception handler at one point
This commit is contained in:
@@ -107,7 +107,7 @@ class ScreenshotPage extends GenericPage
|
||||
{
|
||||
$this->imgHash = Util::createHash(16);
|
||||
|
||||
if (User::canUploadScreenshot())
|
||||
if (!User::canUploadScreenshot())
|
||||
{
|
||||
$_SESSION['error']['ss'] = Lang::screenshot('error', 'notAllowed');
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user