mirror of
https://github.com/slawkens/myaac.git
synced 2025-05-05 05:39:20 +02:00
Fix new page/news links
This commit is contained in:
parent
9a306886fb
commit
08a19158b3
@ -32,7 +32,6 @@ const ARTICLE_TEXT_LIMIT = 300;
|
|||||||
const ARTICLE_IMAGE_LIMIT = 100;
|
const ARTICLE_IMAGE_LIMIT = 100;
|
||||||
|
|
||||||
$name = $p_title = '';
|
$name = $p_title = '';
|
||||||
$action = $_POST['action'] ?? '';
|
|
||||||
if(!empty($action))
|
if(!empty($action))
|
||||||
{
|
{
|
||||||
$id = $_POST['id'] ?? null;
|
$id = $_POST['id'] ?? null;
|
||||||
|
@ -36,7 +36,6 @@ const PAGE_TITLE_LIMIT = 30;
|
|||||||
const PAGE_NAME_LIMIT = 30;
|
const PAGE_NAME_LIMIT = 30;
|
||||||
const PAGE_BODY_LIMIT = 65535; // maximum page body length
|
const PAGE_BODY_LIMIT = 65535; // maximum page body length
|
||||||
|
|
||||||
$action = $_POST['action'] ?? '';
|
|
||||||
if (!empty($action)) {
|
if (!empty($action)) {
|
||||||
if ($action == 'delete' || $action == 'edit' || $action == 'hide') {
|
if ($action == 'delete' || $action == 'edit' || $action == 'hide') {
|
||||||
$id = $_POST['id'];
|
$id = $_POST['id'];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user