* 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:
Sarjuuk
2017-03-22 20:30:14 +01:00
parent f9416c549d
commit b6b734ff36
5 changed files with 19 additions and 7 deletions

View File

@@ -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;