We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8b6e9f commit de47f0eCopy full SHA for de47f0e
main/auth/courses.php
@@ -12,9 +12,7 @@
12
// Section for the tabs.
13
$this_section = SECTION_CATALOG;
14
15
-if ('true' !== api_get_setting('course_catalog_published') ||
16
- ('true' === api_get_setting('course_catalog_published') && api_get_configuration_value('catalog_hide_public_link'))
17
-) {
+if ('true' !== api_get_setting('course_catalog_published')) {
18
// Access rights: anonymous users can't do anything useful here.
19
api_block_anonymous_users();
20
}
0 commit comments