From 8ce30fe027054b3752221078bbc58d5de4953f7f Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Tue, 25 Apr 2017 11:17:44 -0500 Subject: [PATCH] Fix behat test when creates a LP --- main/lp/learnpath.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/lp/learnpath.class.php b/main/lp/learnpath.class.php index 62af7a996c..0977e1d4e4 100755 --- a/main/lp/learnpath.class.php +++ b/main/lp/learnpath.class.php @@ -6584,7 +6584,7 @@ class learnpath Display::return_icon('certificate.png', get_lang('Certificate'), [], ICON_SIZE_BIG), ); - Display::addFlash(Display::return_message(get_lang('ClickOnTheLearnerViewToSeeYourLearningPath'), 'normal')); + echo Display::return_message(get_lang('ClickOnTheLearnerViewToSeeYourLearningPath'), 'normal'); $dir = $_SESSION['oLP']->display_item_form('dir', get_lang('EnterDataNewChapter'), 'add_item'); echo Display::tabs( $headers,