Index: branches/5.1.x/core/units/files/files_config.php =================================================================== diff -u -N -r13545 -r13581 --- branches/5.1.x/core/units/files/files_config.php (.../files_config.php) (revision 13545) +++ branches/5.1.x/core/units/files/files_config.php (.../files_config.php) (revision 13581) @@ -1,6 +1,6 @@ 1, 'default' => 1, ), 'CreatedOn' => Array ('type' => 'int', 'formatter' => 'kDateFormatter', 'default' => '#NOW#'), - 'CreatedById' => Array ('type' => 'int', 'not_null' => 1, 'default' => -1), + 'CreatedById' => Array ('type' => 'int', 'not_null' => 1, 'default' => USER_ROOT), 'MimeType' => Array ('type' => 'string', 'max_len' => 255, 'not_null' => 1, 'default' => ''), ),