minor fixes

Former-commit-id: ced1aad7a9835dab5b44817f191e33d2ca11cff3
This commit is contained in:
fbsanchez 2019-05-16 12:28:46 +02:00
parent e7dbb55392
commit 034480bf88
3 changed files with 11 additions and 11 deletions

View File

@ -7,7 +7,6 @@ DELETE FROM `tevent_response` WHERE `name` LIKE 'Create Integria IMS&#
INSERT INTO `tnotification_source_user` (`id_source`, `id_user`, `enabled`, `also_mail`) VALUES ((SELECT `id` FROM `tnotification_source` WHERE `description`="Official communication"), "admin", 1, 0);
INSERT INTO `tnotification_source_group` SELECT `id`,0 FROM `tnotification_source` WHERE `description`="Official communication";
UPDATE `tnotification_source` SET `enabled`=1 WHERE `description` = 'System status' OR `description` = 'Official communication';
UPDATE `tnotification_source` SET `icon`="icono_logo_pandora.png" WHERE `description` = 'Official communication';

View File

@ -156,17 +156,17 @@ if ($registration) {
false,
// Launch only if not being launch from 'initial'.
!$initial,
(($show_newsletter === true) ? 'show_newsletter_wizard()' : null)
);
}
if ($show_newsletter) {
// Show newsletter wizard for current user.
newsletter_wiz_modal(
false,
// Launch only if not being call from 'registration'.
!$registration && !$initial
(($show_newsletter === true) ? 'force_run_newsletter()' : null)
);
} else {
if ($show_newsletter) {
// Show newsletter wizard for current user.
newsletter_wiz_modal(
false,
// Launch only if not being call from 'registration'.
!$registration && !$initial
);
}
}
?>

View File

@ -61,6 +61,7 @@ function update_manager_verify_registration()
*/
function config_wiz_process()
{
global $config;
$email = get_parameter('email', false);
$timezone = get_parameter('timezone', false);
$language = get_parameter('language', false);