0) {
list($posts_created, $duplicated_posts) = cpm_handle_file_uploads($files_to_handle);
if (count($posts_created) > 0) {
if (count($posts_created) == 1) {
?>warnings[] = __("More than one new post was generated! Please report this error.", 'comicpress-manager');
}
}
if (count($duplicated_posts) > 0) {
if (count($duplicated_posts) == 1) {
?>warnings[] = __("More than one duplicate post was found! Please report this error.", 'comicpress-manager');
}
}
$cpm_config->warnings[] = __("No posts were created, and no duplicate posts could be found!", 'comicpress-manager');
} else {
$cpm_config->warnings[] = __("You didn't upload any files!", 'comicpress-manager');
}
}
?>