Edit notice token error corrected
This commit is contained in:
parent
dbceafd606
commit
dfdfa1f496
6
TODO
6
TODO
@ -1,7 +1,10 @@
|
||||
Issues :
|
||||
========
|
||||
* Check box on invoice form when modifying guests
|
||||
* Regenerate token
|
||||
* Global paybacks
|
||||
* Test fr
|
||||
* Paybacks and user deletion
|
||||
* Minify CSS / JS
|
||||
|
||||
Improvements :
|
||||
==============
|
||||
@ -9,5 +12,4 @@ Improvements :
|
||||
* Search invoice
|
||||
* JSON output => do index view
|
||||
* API
|
||||
* cf TODO in files
|
||||
* README file
|
||||
|
@ -337,6 +337,7 @@
|
||||
|
||||
case 'edit_notice':
|
||||
if(isset($_POST['notice'])) {
|
||||
$tpl->assign('notice', htmlspecialchars($_POST['notice']));
|
||||
if(check_token(600, 'settings')) {
|
||||
setNotice($_POST['notice']);
|
||||
|
||||
@ -353,6 +354,7 @@
|
||||
}
|
||||
|
||||
$tpl->assign('show_settings', false);
|
||||
$tpl->assign('token', generate_token('settings'));
|
||||
$tpl->draw('settings');
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user