ImpressCMS/impresscms

View on GitHub
htdocs/suggest.php

Summary

Maintainability
A
0 mins
Test Coverage

Reference to static property xoopsDB from undeclared class \icms
Open

        $query = icms::$xoopsDB->query($sql);
Severity: Critical
Found in htdocs/suggest.php by phan

Reference to static property xoopsDB from undeclared class \icms
Open

            . icms::$xoopsDB->prefix("autosearch_cat") . " c ON s.cat_id = c.cid WHERE name LIKE '%"
Severity: Critical
Found in htdocs/suggest.php by phan

Reference to static property xoopsDB from undeclared class \icms
Open

        $sql = "SELECT * FROM ".icms::$xoopsDB->prefix("autosearch_list")." s INNER JOIN "
Severity: Critical
Found in htdocs/suggest.php by phan

Reference to static property xoopsDB from undeclared class \icms
Open

    $queryString = icms::$xoopsDB->escape($_POST['queryString']);
Severity: Critical
Found in htdocs/suggest.php by phan

Reference to static property logger from undeclared class \icms
Open

icms::$logger->disableLogger();
Severity: Critical
Found in htdocs/suggest.php by phan

Reference to static property xoopsDB from undeclared class \icms
Open

                while ($result = icms::$xoopsDB->fetchArray($query)) {
Severity: Critical
Found in htdocs/suggest.php by phan

Reference to static property xoopsDB from undeclared class \icms
Open

        $num_results = icms::$xoopsDB->getRowsNum($query);
Severity: Critical
Found in htdocs/suggest.php by phan

Expected 1 newline at end of file; 0 found
Open

}
Severity: Minor
Found in htdocs/suggest.php by phpcodesniffer

There are no issues that match your filters.

Category
Status