diff options
| author | 2019-08-29 18:08:43 +0200 | |
|---|---|---|
| committer | 2019-08-29 18:08:43 +0200 | |
| commit | 84f9311fd53f5fa58ae55986ece9bfa7dac455c1 (patch) | |
| tree | 884e1c3048cbe8fc9f2c3e081c3a8730d2cbc639 /app/layout/simple.phtml | |
| parent | 18efce354326c78d0ae0579a163eb4ac6322deca (diff) | |
fix: Fix "validate email"-related issues (#2512)
* fix: Make sure $disable_aside is initialized
There was a warning for an uninitialized variable, hidden in production
but visible in development mode.
* fix: Allow to delete account when email isn't validated
Diffstat (limited to 'app/layout/simple.phtml')
| -rw-r--r-- | app/layout/simple.phtml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/layout/simple.phtml b/app/layout/simple.phtml index 5546966be..b62e35988 100644 --- a/app/layout/simple.phtml +++ b/app/layout/simple.phtml @@ -5,6 +5,9 @@ <meta charset="UTF-8" /> <meta name="viewport" content="initial-scale=1.0" /> <?php echo self::headStyle(); ?> + <script id="jsonVars" type="application/json"> +<?php $this->renderHelper('javascript_vars'); ?> + </script> <?php echo self::headScript(); ?> <link rel="shortcut icon" id="favicon" type="image/x-icon" sizes="16x16 64x64" href="<?php echo Minz_Url::display('/favicon.ico'); ?>" /> <link rel="icon msapplication-TileImage apple-touch-icon" type="image/png" sizes="256x256" href="<?php echo Minz_Url::display('/themes/icons/favicon-256.png'); ?>" /> |
