e107inc/e107

View on GitHub
e107_admin/updateadmin.php

Summary

Maintainability
A
0 mins
Test Coverage
F
44%

Variable $sql is undeclared
Open

            $check = $sql->update('user',$userData);
Severity: Minor
Found in e107_admin/updateadmin.php by phan

Variable $ns is undeclared
Open

            $ns->tablerender(LAN_UPDATED_FAILED, $mes->render());
Severity: Minor
Found in e107_admin/updateadmin.php by phan

Variable $sql is undeclared
Open

            $userData['data']['user_password'] = $sql->escape($userMethods->HashPassword($_POST['a_password'], $currentUser['user_loginname']), FALSE);
Severity: Minor
Found in e107_admin/updateadmin.php by phan

Reference to undeclared property \UserHandler->otherFieldTypes
Open

            validatorClass::addFieldTypes($userMethods->userVettingInfo,$userData, $userMethods->otherFieldTypes);
Severity: Minor
Found in e107_admin/updateadmin.php by phan

Variable $ns is undeclared
Open

                $ns->tablerender(LAN_UPDATED_FAILED, $mes->render());
Severity: Minor
Found in e107_admin/updateadmin.php by phan

Variable $currentUser is undeclared
Open

            $userData['data']['user_password'] = $sql->escape($userMethods->HashPassword($_POST['a_password'], $currentUser['user_loginname']), FALSE);
Severity: Minor
Found in e107_admin/updateadmin.php by phan

Variable $ns is undeclared
Open

                $ns->tablerender(UDALAN_2, $mes->render());
Severity: Minor
Found in e107_admin/updateadmin.php by phan

Variable $ns is undeclared
Open

    $ns->tablerender(UDALAN_8." ".ADMINNAME, $text);
Severity: Minor
Found in e107_admin/updateadmin.php by phan

Variable $currentUser is undeclared
Open

                $user_prefs = e107::getArrayStorage()->unserialize($currentUser['user_prefs']);
Severity: Minor
Found in e107_admin/updateadmin.php by phan

There are no issues that match your filters.

Category
Status