]> git.mjollnir.org Git - s9y.git/commitdiff
* (beta2) Fix when saving personal configuration the userlevel and
authorgarvinhicking <garvinhicking>
Sun, 24 Jun 2007 10:49:43 +0000 (10:49 +0000)
committergarvinhicking <garvinhicking>
Sun, 24 Jun 2007 10:49:43 +0000 (10:49 +0000)
      "no_create" flags where not properly saved, thanks to PHPaws!

docs/NEWS
include/admin/personal.inc.php

index 7d83f0492d8bfa40ee539725c5f7e0ef854ef123..fd3079120b19d92f753b08fc4b9b810fa4dad281 100644 (file)
--- a/docs/NEWS
+++ b/docs/NEWS
@@ -3,6 +3,10 @@
 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
       template instead of "No entries to print" and HTTP 200 status.
       (garvinhicking)
index 953c31aa820cb7bc5cc75cda8a9fda556a9746ba..36bb4772cdf2b607a243ed5df75cd355cc28d892 100644 (file)
@@ -63,7 +63,8 @@ if ($serendipity['GET']['adminAction'] == 'save' && serendipity_checkFormToken()
 
                 // Moved to group administration:
                 if ($item['var'] == 'userlevel') continue;
-                
+                if ($item['view'] == 'dangerous') continue;
+
                 if (serendipity_checkConfigItemFlags($item, 'local')) {
                     serendipity_set_user_var($item['var'], $_POST[$item['var']], $serendipity['authorid'], true);
                 }