}
try {
require_once('upload.inc.php');
- $target = userupload($val, $cols[$col]['target']);
+ $target = userupload($val, NULL, $cols[$col]['target']);
if (!$target) continue;
$cols[$col]['value'] = '';
}
catch (Exception $e) {
- $colwarn[$col] = $e->getMessage();
+ $colwarn[$col] = ucfirst($e->getMessage()).'.';
}
}