aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/TakeATour/main.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TakeATour/main.inc.php')
-rw-r--r--plugins/TakeATour/main.inc.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/TakeATour/main.inc.php b/plugins/TakeATour/main.inc.php
index a6402205c..fc54b88a3 100644
--- a/plugins/TakeATour/main.inc.php
+++ b/plugins/TakeATour/main.inc.php
@@ -26,7 +26,8 @@ elseif ( isset($_GET['tour_ended']) and defined('IN_ADMIN') and IN_ADMIN )
}
/** Setup the tour **/
-if (pwg_get_session_var('tour_to_launch') and isset($_GET['page']) and $_GET['page']=="plugin-TakeATour" )
+$version_=str_replace('.','_',PHPWG_VERSION);
+if (pwg_get_session_var('tour_to_launch')!=$version_ and isset($_GET['page']) and $_GET['page']=="plugin-TakeATour")
{
pwg_unset_session_var('tour_to_launch');
}