Improve wish autofill
This commit is contained in:
parent
68a3d071a6
commit
946e476c23
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ if ('POST' === $_SERVER['REQUEST_METHOD'] && count($_POST) >= 0) {
|
||||||
WHERE `id` = ' . trim($_POST['wish_id']) . ';');
|
WHERE `id` = ' . trim($_POST['wish_id']) . ';');
|
||||||
|
|
||||||
$wish = new Wish($_GET['id'], false);
|
$wish = new Wish($_GET['id'], false);
|
||||||
|
$page = new Page(__FILE__, $wish->title);
|
||||||
$page->messages[] = Page::success('Wish successfully updated.', 'Success');
|
$page->messages[] = Page::success('Wish successfully updated.', 'Success');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue