e107inc/e107

View on GitHub
e107_plugins/alt_auth/alt_auth_adminmenu.php

Summary

Maintainability
A
0 mins
Test Coverage
F
0%

Variable $var was undeclared, but array fields are being added to it.
Open

    $var['main']['text'] = LAN_ALT_31;

Reference to undeclared constant \AUTH_BADPASSWORD
Open

                case AUTH_BADPASSWORD :

Argument 3 (newvals) is array{} but \auth_login::login() takes \pointer defined at /code/e107_plugins/alt_auth/e107db_auth.php:80
Open

                $log_result = $_login->login($val_name, $_POST['passtovalidate'], $pass_vars, ($val_name == ''));

Assigning \e107_user_extended to property but \alt_auth_admin->euf is false
Open

        $this->euf = new e107_user_extended;

Reference to undeclared constant \AUTH_NOUSER
Open

                case AUTH_NOUSER :

Invalid offset "showAll" of array type array{prompt:'Avatar field',default:'user_image',optional:true,otherdb:true,e107db:true,importdb:false,ldap:false}|array{prompt:'Ban status field',default:'user_ban',optional:true,otherdb:false,e107db:true,importdb:false,ldap:false}|array{prompt:'Class membership field',default:'user_class',optional:true,otherdb:false,e107db:true,importdb:false,ldap:false}|array{prompt:'Hide email? field',default:'user_hideemail',optional:true,otherdb:true,e107db:true,importdb:false,ldap:true,ldap_field:'',method:'bool1'}|array{prompt:'Join date field',default:'user_join',optional:true,otherdb:false,e107db:true,importdb:false,ldap:true,ldap_field:''}|array{prompt:'Photo field',default:'user_sess',optional:true,otherdb:true,e107db:true,importdb:false,ldap:false}|array{prompt:'Signature field',default:'user_signature',optional:true,otherdb:true,e107db:true,importdb:false,ldap:false}|array{prompt:'User Custom Title field',default:'user_customtitle',optional:true,otherdb:false,e107db:true,importdb:false,ldap:false}|array{prompt:'User Id',help:'Use with caution',default:false,optional:true,otherdb:false,e107db:true,importdb:false,ldap:false}|array{prompt:'User display name field',default:'user_name',optional:true,otherdb:true,e107db:true,importdb:false,ldap:true,ldap_field:''}|array{prompt:'User email field',default:'user_email',optional:true,otherdb:true,e107db:true,importdb:false,ldap:true,ldap_field:'mail'}|array{prompt:'User real name field',default:'user_login',optional:true,otherdb:true,e107db:true,importdb:false,ldap:true,ldap_field:'sn'}
Open

            if (vartrue($v['showAll']) || vartrue($v[$tableType]))

Reference to undeclared constant \AUTH_SUCCESS
Open

                case AUTH_SUCCESS :

Reference to undeclared constant \AUTH_UNKNOWN
Open

                case AUTH_UNKNOWN :

Reference to undeclared constant \AUTH_NOT_AVAILABLE
Open

                case AUTH_NOT_AVAILABLE :

Call to deprecated function \show_admin_menu() defined at /code/e107_admin/boot.php:354
Open

    show_admin_menu(LAN_ALT_29, ALT_AUTH_ACTION, $var);

Call to method user_extended_get_fieldList on non-class type false
Open

        $xFields = $this->euf->user_extended_get_fieldList('','user_extended_struct_name');

Call to deprecated function \show_admin_menu() defined at /code/e107_admin/boot.php:354
Open

    show_admin_menu($caption, ALT_AUTH_ACTION, $var);

Reference to undeclared constant \AUTH_NOCONNECT
Open

                case AUTH_NOCONNECT :

Invalid offset "showAll" of array type array{prompt:'Avatar field',default:'user_image',optional:true,otherdb:true,e107db:true,importdb:false,ldap:false}|array{prompt:'Ban status field',default:'user_ban',optional:true,otherdb:false,e107db:true,importdb:false,ldap:false}|array{prompt:'Class membership field',default:'user_class',optional:true,otherdb:false,e107db:true,importdb:false,ldap:false}|array{prompt:'Hide email? field',default:'user_hideemail',optional:true,otherdb:true,e107db:true,importdb:false,ldap:true,ldap_field:'',method:'bool1'}|array{prompt:'Join date field',default:'user_join',optional:true,otherdb:false,e107db:true,importdb:false,ldap:true,ldap_field:''}|array{prompt:'Photo field',default:'user_sess',optional:true,otherdb:true,e107db:true,importdb:false,ldap:false}|array{prompt:'Signature field',default:'user_signature',optional:true,otherdb:true,e107db:true,importdb:false,ldap:false}|array{prompt:'User Custom Title field',default:'user_customtitle',optional:true,otherdb:false,e107db:true,importdb:false,ldap:false}|array{prompt:'User Id',help:'Use with caution',default:false,optional:true,otherdb:false,e107db:true,importdb:false,ldap:false}|array{prompt:'User display name field',default:'user_name',optional:true,otherdb:true,e107db:true,importdb:false,ldap:true,ldap_field:''}|array{prompt:'User email field',default:'user_email',optional:true,otherdb:true,e107db:true,importdb:false,ldap:true,ldap_field:'mail'}|array{prompt:'User real name field',default:'user_login',optional:true,otherdb:true,e107db:true,importdb:false,ldap:true,ldap_field:'sn'}
Open

            if (vartrue($v['showAll']) || vartrue($v[$tableType]))

There are no issues that match your filters.

Category
Status