Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

problem with visible link 1.2.1 #69

Closed
hamersky opened this issue Sep 2, 2020 · 0 comments
Closed

problem with visible link 1.2.1 #69

hamersky opened this issue Sep 2, 2020 · 0 comments

Comments

@hamersky
Copy link

hamersky commented Sep 2, 2020

Problem with the link visibility feature
it will not work properly on the free version

app/web.php line 459
if (version_compare(Settings::get('chevereto_version_installed'), '3.6.7', '>=')) {
$pages_visible_db = Page::getAll(['is_active' => 1, 'is_link_visible' => 1], ['field' => 'sort_display', 'order' => 'ASC']);
$pageHandle = version_compare(Settings::get('chevereto_version_installed'), '3.12.4', '>=') ? 'internal' : 'url_key';
$handler::setVar('page_tos', Page::getSingle('tos', $pageHandle));
$handler::setVar('page_privacy', Page::getSingle('privacy', $pageHandle));
}

@rodber rodber closed this as completed in 080c350 Sep 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant