* fix bug for build menu.

This commit is contained in:
wangyidong
2016-04-26 16:47:38 +08:00
parent 5107805a0f
commit ba10199096
2 changed files with 6 additions and 8 deletions
+1 -1
View File
@@ -1290,7 +1290,7 @@ class commonModel extends model
*/
public static function isTutorialMode()
{
return $_SESSION['tutorialMode'];
return (isset($_SESSION['tutorialMode']) and $_SESSION['tutorialMode']);
}
}