Index: trunk/kernel/startup.php =================================================================== diff -u -r927 -r1278 --- trunk/kernel/startup.php (.../startup.php) (revision 927) +++ trunk/kernel/startup.php (.../startup.php) (revision 1278) @@ -37,6 +37,7 @@ $var=htmlspecialchars($strip?stripslashes($var):$var); return $var; } + /* startup.php: this is the primary startup sequence for in-portal services */ @@ -55,6 +56,16 @@ require_once($pathtoroot."globals.php"); include_once($pathtoroot.'kernel/include/'.( IsDebugMode() ? 'debugger.php' : 'debugger_dummy.php') ); + // put all non-checked checkboxes in $_POST & $_REQUEST with 0 values + if( GetVar('form_fields') ) + { + $form_fields = GetVar('form_fields'); + foreach($form_fields as $checkbox_name) + { + if( GetVar($checkbox_name) === false ) SetVar($checkbox_name,0); + } + } + LogEntry("Initalizing System..\n"); /* for 64 bit timestamps */ require_once($pathtoroot."kernel/include/adodb/adodb-time.inc.php");