diff options
author | plegall <plg@piwigo.org> | 2005-12-27 10:03:29 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2005-12-27 10:03:29 +0000 |
commit | bf56ef443bb9c6404563181429b567366da4cce0 (patch) | |
tree | cb00563c5c81820798e72e34a6f01229beb0d9ba | |
parent | 9bc452537eb28a00a3d89fce4d859cf12f4d58c6 (diff) |
bug 196 fixed : release creator shell script transforms every occurence of
%PWGVERSION% into the release number being created. This occurence should
not been transformed, so we use a little trick :-)
git-svn-id: http://piwigo.org/svn/branches/branch-1_5@991 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r-- | admin/intro.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/admin/intro.php b/admin/intro.php index 71a657c03..d7beec762 100644 --- a/admin/intro.php +++ b/admin/intro.php @@ -76,7 +76,9 @@ if (isset($_GET['action']) and 'check_upgrade' == $_GET['action']) l10n('Check for upgrade failed for unknown reasons.') ); } - else if ('%PWGVERSION%' == $versions{'current'}) + // concatenation needed to avoid automatic transformation by release + // script generator + else if ('%'.'PWGVERSION'.'%' == $versions{'current'}) { array_push( $page['infos'], |