]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-theme_edit.php
Fix for missing array element 'url'
[mailer.git] / inc / modules / admin / what-theme_edit.php
index ce99c5fdca8030f5fad5e0191222943a4bb7202f..de3f19ad787ff778d28a4110a2e1903915b8a084 100644 (file)
@@ -121,6 +121,9 @@ if (!SQL_HASZERONUMS($result)) {
                // Load theme in test mode
                loadInclude($inc);
 
+               // Copy data from theme to content
+               $content['theme_url'] = $GLOBALS['theme_data']['url'];
+
                // Is the loaded theme name != current theme name?
                $content['link'] = $content['theme_path'];
                if ($content['theme_path'] != getCurrentTheme()) $content['link'] = '<a href="{%url=modules.php?module=admin&amp;what=theme_edit&amp;default_theme=' . $content['theme_path'] . '%}" title="{--ADMIN_SET_AS_NEW_THEME--}">' . $content['theme_path'] . '</a>';