From 6f9efc04d743ca3a26e8d3c126b932b13e44c2c5 Mon Sep 17 00:00:00 2001 From: Angel Fernando Quiroz Campos Date: Tue, 6 Jun 2017 16:51:43 -0500 Subject: [PATCH] Show visible services in catalog - refs BT#8407 --- plugin/buycourses/src/buy_course_plugin.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/buycourses/src/buy_course_plugin.class.php b/plugin/buycourses/src/buy_course_plugin.class.php index a7d41e40d5..8c1baf29ce 100644 --- a/plugin/buycourses/src/buy_course_plugin.class.php +++ b/plugin/buycourses/src/buy_course_plugin.class.php @@ -2105,7 +2105,7 @@ class BuyCoursesPlugin extends Plugin $userTable = Database::get_main_table(TABLE_MAIN_USER); $whereConditions = [ - 's.id <> ? ' => 0, + 's.visibility <> ? ' => 0, ]; if (!empty($name)) {