]> git.mjollnir.org Git - s9y.git/commitdiff
Fix adding a user so that it doesn't spew when trying to update column 'check_passwor...
authorjtate <jtate>
Sat, 1 Oct 2005 02:55:17 +0000 (02:55 +0000)
committerjtate <jtate>
Sat, 1 Oct 2005 02:55:17 +0000 (02:55 +0000)
include/functions_config.inc.php

index d8603d9058fcf1c2d50b4697bc81c8a3e6504dc5..7d763aa8918fcc813e9d09f38b25695ffeec3103 100644 (file)
@@ -116,6 +116,9 @@ function serendipity_set_user_var($name, $val, $authorid, $copy_to_s9y = true) {
 
     // Special case for inserting a password
     switch($name) {
+        case 'check_password':
+            //Skip this field.  It doesn't need to be stored.
+            return;
         case 'password':
             if (empty($val)) {
                 return;
@@ -1196,4 +1199,4 @@ function serendipity_setFormToken($type = 'form') {
     }
 }
 
-/* vim: set sts=4 ts=4 expandtab : */
\ No newline at end of file
+/* vim: set sts=4 ts=4 expandtab : */