e107inc/e107

View on GitHub
e107_plugins/pm/e_shortcode.php

Summary

Maintainability
A
0 mins
Test Coverage
F
47%

Argument 3 (row) is '' but \e107::url() takes array defined at /code/e107_handlers/e107_class.php:4225
Open

        $urlOutbox = e107::url('pm','index','', array('query'=>array('mode'=>'outbox')));
Severity: Minor
Found in e107_plugins/pm/e_shortcode.php by phan

Argument 3 (row) is '' but \e107::url() takes array defined at /code/e107_handlers/e107_class.php:4225
Open

        $urlCompose = e107::url('pm','index','', array('query'=>array('mode'=>'send')));
Severity: Minor
Found in e107_plugins/pm/e_shortcode.php by phan

Argument 1 (uid) is string but \private_message::canSendTo() takes int defined at /code/e107_plugins/pm/pm_class.php:688
Open

        if(isset($pm_prefs['pm_class']) && check_class($pm_prefs['pm_class']) && $pm->canSendTo($parm['user'])) // check $this->pmPrefs['send_to_class'].
Severity: Minor
Found in e107_plugins/pm/e_shortcode.php by phan

Argument 3 (row) is '' but \e107::url() takes array defined at /code/e107_handlers/e107_class.php:4225
Open

        $urlInbox = e107::url('pm','index','', array('query'=>array('mode'=>'inbox')));
Severity: Minor
Found in e107_plugins/pm/e_shortcode.php by phan

Comment declares @param $parm multiple times
Open

    function sc_sendpm($parm=null)
Severity: Info
Found in e107_plugins/pm/e_shortcode.php by phan

There are no issues that match your filters.

Category
Status