diff --git a/admin/admin_settings.php b/admin/admin_settings.php index d9f64de2..0f011aee 100644 --- a/admin/admin_settings.php +++ b/admin/admin_settings.php @@ -95,6 +95,9 @@ if ( defined('HESK_DEMO') ) $hesk_settings['recaptcha_private_key'] = $hesklang['hdemo']; } +// Get the current version of Mods for Hesk +$modsForHeskVersionRS = hesk_dbQuery("SELECT `Value` FROM `".hesk_dbEscape($hesk_settings['db_pfix'])."settings` WHERE `Key` = 'modsForHeskVersion'"); +$modsForHeskVersion = hesk_dbFetchAssoc($modsForHeskVersionRS)['Value']; ?>