e107inc/e107

View on GitHub
e107_plugins/download/download.php

Summary

Maintainability
A
0 mins
Test Coverage
D
67%

Variable $pid is undeclared
Open

            e107::getComment()->enter_comment($clean_authorname, $clean_comment, "download", $id, $pid, $clean_subject);
Severity: Minor
Found in e107_plugins/download/download.php by phan

Variable $id is undeclared
Open

            e107::getComment()->enter_comment($clean_authorname, $clean_comment, "download", $id, $pid, $clean_subject);
Severity: Minor
Found in e107_plugins/download/download.php by phan

Argument 2 (fname) is false but \e107::lan() takes string defined at /code/e107_handlers/e107_class.php:3987
Open

e107::lan('download', false, true); // Loads e_PLUGIN.'download/languages/'.e_LANGUAGE.'/English_front.php'
Severity: Minor
Found in e107_plugins/download/download.php by phan

Variable $id is undeclared
Open

    if(!$sql->select("download", "download_comment", "download_id = '{$id}' "))
Severity: Minor
Found in e107_plugins/download/download.php by phan

There are no issues that match your filters.

Category
Status