Index: branches/5.1.x/core/kernel/db/db_event_handler.php =================================================================== diff -u -r13545 -r13569 --- branches/5.1.x/core/kernel/db/db_event_handler.php (.../db_event_handler.php) (revision 13545) +++ branches/5.1.x/core/kernel/db/db_event_handler.php (.../db_event_handler.php) (revision 13569) @@ -1,6 +1,6 @@ Application->getUnitOption($event->Prefix, 'Fields'); $upload_dir = $fields[ $this->Application->GetVar('field') ]['upload_dir']; - if (!is_writable($tmp_path) || !is_writable(FULL_PATH . $upload_dir)) { + if (!is_writable($tmp_path)) { // 500 Internal Server Error // check both temp and live upload directory header('HTTP/1.0 500 Write permissions not set on the server');