Fixed a bug when deciding whether the table of contents is displayed or not
-
Hi all,
I have found a bug in version 2002 which causes table of contents not being shown according to the configuration. For anyone interested, the fix is as follows:
1.- Edit file table-of-contents-plus/toc.php
2.- Modify line 1438. Change this:
if ( strpos($_SERVER['REQUEST_URI'], $this->options['restrict_path']) === 0 )
by this:
if ( strpos($_SERVER['REQUEST_URI'], $this->options['restrict_path']) === false )
3.- Save
Best wishes,
Toni Ginard
- The topic ‘Fixed a bug when deciding whether the table of contents is displayed or not’ is closed to new replies.