bug fixed: wrong version number at the end of upgrade

This commit is contained in:
plegall 2016-03-04 14:27:20 +01:00
parent f1f206f1bd
commit 91276709b4

View file

@ -480,7 +480,8 @@ REPLACE INTO '.PLUGINS_TABLE.'
$template->assign(
array(
'button_label' => l10n('2_7_0_descrp'), // TODO avoid to update it on each release
// TODO find a better way to do that, with a core string in English
'button_label' => str_replace('2.7', get_branch_from_version(PHPWG_VERSION), l10n('2_7_0_descrp')),
'button_link' => 'admin.php?submited_tour_path=tours/'.$version_.'&pwg_token='.get_pwg_token(),
)
);