e107inc/e107

View on GitHub
e107_plugins/download/download_shortcodes.php

Summary

Maintainability
A
0 mins
Test Coverage
C
72%

Argument 2 (options) is false but \e_parse::toGlyph() takes array|string defined at /code/e107_handlers/e_parse_class.php:3973
Open

            $img = e107::getParser()->toGlyph('fa-download', false);

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

        $link['view'] = "<a href='" . $viewUrl . "'>" . $this->var['download_name'] . "</a>";

Invalid offset "action" of array type array{}
Open

        $action = varset($this->qry['action']);

Argument 2 (options) is false but \e_parse::toGlyph() takes array|string defined at /code/e107_handlers/e_parse_class.php:3973
Open

            $img = e107::getParser()->toGlyph('fa-download', false);

Invalid offset "class" of array type array{}
Open

                'class'  => 'download-image dl_image download-view-image img-responsive img-fluid ' . vartrue($parm['class']),

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

        return (ADMIN && getperms('6')) ? "<a class='e-tip btn btn-default btn-secondary hidden-print' href='" . $url . "' title='" . LAN_EDIT . "'>" . $icon . "</a>" : "";

There are no issues that match your filters.

Category
Status