Fixed permissions typo in stickies
This commit is contained in:
parent
f1f68b0e7e
commit
cff02371ce
2
mod.php
2
mod.php
@ -284,7 +284,7 @@
|
|||||||
else
|
else
|
||||||
header('Location: ?/' . sprintf(BOARD_PATH, $boardName) . FILE_INDEX, true, REDIRECT_HTTP);
|
header('Location: ?/' . sprintf(BOARD_PATH, $boardName) . FILE_INDEX, true, REDIRECT_HTTP);
|
||||||
} elseif(preg_match('/^\/' . $regex['board'] . '(un)?sticky\/(\d+)$/', $query, $matches)) {
|
} elseif(preg_match('/^\/' . $regex['board'] . '(un)?sticky\/(\d+)$/', $query, $matches)) {
|
||||||
if($mod['type'] < MOD_DELETE) error(ERROR_NOACCESS);
|
if($mod['type'] < MOD_STICKY) error(ERROR_NOACCESS);
|
||||||
// Ban by post
|
// Ban by post
|
||||||
|
|
||||||
$boardName = $matches[1];
|
$boardName = $matches[1];
|
||||||
|
Loading…
Reference in New Issue
Block a user