From 91276709b4d332ea8133a8b471fae5b45488195e Mon Sep 17 00:00:00 2001 From: plegall Date: Fri, 4 Mar 2016 14:27:20 +0100 Subject: bug fixed: wrong version number at the end of upgrade --- upgrade.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'upgrade.php') diff --git a/upgrade.php b/upgrade.php index 6c56d383f..11b745b6d 100644 --- a/upgrade.php +++ b/upgrade.php @@ -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(), ) ); -- cgit v1.2.3