e107inc/e107

View on GitHub
user.php

Summary

Maintainability
A
0 mins
Test Coverage
F
41%

Call to deprecated class \form defined at /code/e107_handlers/form_handler.php:8340
Open

$user_frm = new form;
Severity: Minor
Found in user.php by phan

Call to deprecated function \getperms() defined at /code/class2.php:1322
Open

    if (USERID == $tmp[1] || (ADMIN && getperms("4")))
Severity: Minor
Found in user.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

    if (!$data = $sql->retrieve($query,true))
Severity: Minor
Found in user.php by phan

Call to deprecated function \getperms() defined at /code/class2.php:1322
Open

$full_perms = getperms("0") || check_class(varset($pref['memberlist_access'], 253));        // Controls display of info from other users
Severity: Minor
Found in user.php by phan

Argument 5 (pid) is null but \comment::enter_comment() takes \unknown_type|string defined at /code/e107_handlers/comment_class.php:675
Open

        $cobj->enter_comment($_POST['author_name'], $_POST['comment'], 'profile', $id, null, $_POST['subject']);
Severity: Minor
Found in user.php by phan

There are no issues that match your filters.

Category
Status