Add visible message if preview is not supported, instead of just nothing.

This commit is contained in:
Nathan Gray 2014-06-04 14:29:08 +00:00
parent 36eca32a77
commit 2b2a6e2261

View File

@ -316,6 +316,10 @@
$preview = html::table($rows);
rewind($stream);
}
else
{
$preview = lang('Preview not supported by %1', $plugin->get_name());
}
if(count($plugin->get_warnings())) {
$this->message .= "<br />\n".lang('Warnings').':';
foreach($plugin->get_warnings() as $record => $message) {