WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

define @csv_directory for use in error message of Batch importFinished #15

@Nicolas-Bouteille

Description

@Nicolas-Bouteille

$messenger->addMessage(t('Some rows failed to import, but unable to create directory for error CSV at @csv_directory', $targs), 'error');

we cannot use $targs here because it's not in the scope. @csv_directory is not defined in $targs, we need to use $dir instead
$messenger->addMessage(t("Some rows failed to import, but unable to create directory for error CSV at @csv_directory", ['@csv_directory' => $dir]), 'error');

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions