e107inc/e107

View on GitHub
e107_plugins/page/e_sitelink.php

Summary

Maintainability
A
0 mins
Test Coverage
A
91%

Argument 2 (fields) is true but \e_db::retrieve() takes string defined at /code/e107_handlers/e_db_interface.php:153
Open

                $pages = $sql->retrieve("SELECT * FROM #page WHERE page_title !='' AND page_chapter IN (".implode(",",$ids).") AND page_class IN (".USERCLASS_LIST.") ORDER BY page_order", true);
Severity: Minor
Found in e107_plugins/page/e_sitelink.php by phan

Argument 2 (fields) is true but \e_db::retrieve() takes string defined at /code/e107_handlers/e_db_interface.php:153
Open

        $chaps = $sql->retrieve("SELECT * FROM #page_chapters WHERE chapter_parent !=0 ORDER BY chapter_order ASC" , true);
Severity: Minor
Found in e107_plugins/page/e_sitelink.php by phan

Argument 2 (parseBB) is '' but \e_parse::toHTML() takes bool|false defined at /code/e107_handlers/e_parse_class.php:1532
Open

                    'link_name'            => $tp->toHTML($row['chapter_name'],'','TITLE'),
Severity: Minor
Found in e107_plugins/page/e_sitelink.php by phan

Argument 2 (fields) is true but \e_db::retrieve() takes string defined at /code/e107_handlers/e_db_interface.php:153
Open

        $data         = $sql->retrieve($query, true);
Severity: Minor
Found in e107_plugins/page/e_sitelink.php by phan

Argument 2 (fields) is true but \e_db::retrieve() takes string defined at /code/e107_handlers/e_db_interface.php:153
Open

        $books = $sql->retrieve("SELECT * FROM #page_chapters WHERE ".$filter." ORDER BY chapter_order ASC" , true);
Severity: Minor
Found in e107_plugins/page/e_sitelink.php by phan

Argument 2 (fields) is true but \e_db::retrieve() takes string defined at /code/e107_handlers/e_db_interface.php:153
Open

        $books = $sql->retrieve("SELECT * FROM #page_chapters WHERE chapter_parent =0 ORDER BY chapter_order ASC" , true);
Severity: Minor
Found in e107_plugins/page/e_sitelink.php by phan

Argument 2 (fields) is true but \e_db::retrieve() takes string defined at /code/e107_handlers/e_db_interface.php:153
Open

        $pages = $sql->retrieve($query, true);
Severity: Minor
Found in e107_plugins/page/e_sitelink.php by phan

There are no issues that match your filters.

Category
Status