diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2023-03-04 01:46:45 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2023-03-04 01:46:45 +0300 |
commit | eeb84c5be16ecca239adae9c851bc0f7db0875a1 (patch) | |
tree | 9aa1056e643212e4c6133d90f38a1966f0fa35ca /handler/admin/PageAdd.php | |
parent | 917d2622aa5fe748c1cda914eae94c12be743c42 (diff) |
blog: support ToC
Diffstat (limited to 'handler/admin/PageAdd.php')
-rw-r--r-- | handler/admin/PageAdd.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/handler/admin/PageAdd.php b/handler/admin/PageAdd.php index 8754f0f..42a9911 100644 --- a/handler/admin/PageAdd.php +++ b/handler/admin/PageAdd.php @@ -40,8 +40,8 @@ class PageAdd extends AutoAddOrEdit { if ($error_code) { return $this->_get_pageAdd( name: $name, - text: $text, title: $title, + text: $text, error_code: $error_code ); } @@ -53,8 +53,8 @@ class PageAdd extends AutoAddOrEdit { ])) { return $this->_get_pageAdd( name: $name, - text: $text, title: $title, + text: $text, error_code: 'db_err' ); } |