Fixed the email helper class to match the custom global field value. Removed the spinner from export data option in the language translation area. Fixed the dynamic dashboard to be able to check if the view was found in the component. Updated the readme to reflect the new terms of gaining access to demo content.

This commit is contained in:
2018-05-17 03:02:11 +02:00
parent e04db1b5b2
commit f7eabbbf35
7 changed files with 28 additions and 48 deletions

View File

@ -573,10 +573,15 @@ class Structure extends Get
}
return false;
});
// check if view was found (this should be true)
if (count($dashboard) && isset($dashboard[0]['settings']) && isset($dashboard[0]['settings']->{$keys[$t]}))
// set dashboard
if (ComponentbuilderHelper::checkArray($dashboard))
{
$this->dynamicDashboard = ComponentbuilderHelper::safeString($dashboard[0]['settings']->{$keys[$t]});
$dashboard = array_values($dashboard)[0];
}
// check if view was found (this should be true)
if (isset($dashboard['settings']) && isset($dashboard['settings']->{$keys[$t]}))
{
$this->dynamicDashboard = ComponentbuilderHelper::safeString($dashboard['settings']->{$keys[$t]});
}
else
{

View File

@ -123,7 +123,7 @@ abstract class ComponentbuilderEmail
$smtpsecure = $conf->get('smtpsecure');
$smtpport = $conf->get('smtpport');
$sendmail = $conf->get('sendmail');
$mailfrom = $conf->get('mailfrom');
$mailfrom = $conf->get('emailfrom');
$fromname = $conf->get('fromname');
$replyto = $conf->get('replyto');
$replytoname = $conf->get('replytoname');