* (beta2) Fix when saving personal configuration the userlevel and
"no_create" flags where not properly saved, thanks to PHPaws!
This commit is contained in:
@ -3,6 +3,10 @@
|
|||||||
Version 1.2 ()
|
Version 1.2 ()
|
||||||
------------------------------------------------------------------------
|
------------------------------------------------------------------------
|
||||||
|
|
||||||
|
* (beta2) Fix when saving personal configuration the userlevel and
|
||||||
|
"no_create" flags where not properly saved, thanks to PHPaws!
|
||||||
|
(garvinhicking)
|
||||||
|
|
||||||
* When a category or entry does not exist, emit HTTP 404 message
|
* When a category or entry does not exist, emit HTTP 404 message
|
||||||
template instead of "No entries to print" and HTTP 200 status.
|
template instead of "No entries to print" and HTTP 200 status.
|
||||||
(garvinhicking)
|
(garvinhicking)
|
||||||
|
@ -63,7 +63,8 @@ if ($serendipity['GET']['adminAction'] == 'save' && serendipity_checkFormToken()
|
|||||||
|
|
||||||
// Moved to group administration:
|
// Moved to group administration:
|
||||||
if ($item['var'] == 'userlevel') continue;
|
if ($item['var'] == 'userlevel') continue;
|
||||||
|
if ($item['view'] == 'dangerous') continue;
|
||||||
|
|
||||||
if (serendipity_checkConfigItemFlags($item, 'local')) {
|
if (serendipity_checkConfigItemFlags($item, 'local')) {
|
||||||
serendipity_set_user_var($item['var'], $_POST[$item['var']], $serendipity['authorid'], true);
|
serendipity_set_user_var($item['var'], $_POST[$item['var']], $serendipity['authorid'], true);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user