Commit 0507f515 authored by Penny Leach's avatar Penny Leach
Browse files

Fixed a tiny thrown ImportException - use proper string interpolation

Signed-off-by: default avatarPenny Leach <>
parent 8f172f9d
......@@ -325,7 +325,7 @@ function send_content_ready($token, $username, $format, $importdata, $fetchnow=f
try {
$class = PluginImport::class_from_format($format);
} catch (Exception $e) {
throw new ImportException(null, 'Invalid format $format');
throw new ImportException(null, "Invalid format $format");
try {
call_static_method($class, 'validate_import_data', $importdata);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment