mambax7/myconference

View on GitHub

Showing 478 of 478 total issues

Avoid using undefined variables such as '$xoopsDB' which will lead to PHP notices.
Open

            if ($xoopsDB->query('UPDATE ' . $xoopsDB->prefix('fm_pics') . " SET name = '$name', filename = '$filename', caption = '$caption' WHERE picID = '$picID'")) {
Severity: Minor
Found in admin/images.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$xoopsDB' which will lead to PHP notices.
Open

            if ($xoopsDB->query('UPDATE ' . $xoopsDB->prefix('fm_pics') . " SET name = '$name', filename = '$filename', caption = '$caption' WHERE picID = '$picID'")) {
Severity: Minor
Found in admin/images.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$xoopsDB' which will lead to PHP notices.
Open

    $xoopsDB->queryF($sql);
Severity: Minor
Found in include/oninstall.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$filename' which will lead to PHP notices.
Open

            $sqlquery = 'INSERT INTO ' . $xoopsDB->prefix('fm_pics') . " ( picID, name, filename, caption, uploaded ) values ( '', '$name', '$filename', '$caption', '$date' )";
Severity: Minor
Found in admin/images.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$filename' which will lead to PHP notices.
Open

            if ($xoopsDB->query('UPDATE ' . $xoopsDB->prefix('fm_pics') . " SET name = '$name', filename = '$filename', caption = '$caption' WHERE picID = '$picID'")) {
Severity: Minor
Found in admin/images.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$section' which will lead to PHP notices.
Open

        $section['title']    = _MB_MYCONFERENCE_PROGRAM;
Severity: Minor
Found in blocks/myconference.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$section' which will lead to PHP notices.
Open

        $section['sid']      = 0;
Severity: Minor
Found in blocks/myconference.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$xoopsDB' which will lead to PHP notices.
Open

    if (0 == $xoopsDB->getRowsNum($result)) {
Severity: Minor
Found in admin/images.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$name' which will lead to PHP notices.
Open

            $sqlquery = 'INSERT INTO ' . $xoopsDB->prefix('fm_pics') . " ( picID, name, filename, caption, uploaded ) values ( '', '$name', '$filename', '$caption', '$date' )";
Severity: Minor
Found in admin/images.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$name' which will lead to PHP notices.
Open

            if ($xoopsDB->query('UPDATE ' . $xoopsDB->prefix('fm_pics') . " SET name = '$name', filename = '$filename', caption = '$caption' WHERE picID = '$picID'")) {
Severity: Minor
Found in admin/images.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$picID' which will lead to PHP notices.
Open

            if ($xoopsDB->query('UPDATE ' . $xoopsDB->prefix('fm_pics') . " SET name = '$name', filename = '$filename', caption = '$caption' WHERE picID = '$picID'")) {
Severity: Minor
Found in admin/images.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$section' which will lead to PHP notices.
Open

        $block['sections'][] = $section;
Severity: Minor
Found in blocks/myconference.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$xoopsDB' which will lead to PHP notices.
Open

    $result = $xoopsDB->query('SELECT * from ' . $xoopsDB->prefix('fm_pics') . " WHERE filename = '$filename'");
Severity: Minor
Found in admin/images.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$filename' which will lead to PHP notices.
Open

    $result = $xoopsDB->query('SELECT * from ' . $xoopsDB->prefix('fm_pics') . " WHERE filename = '$filename'");
Severity: Minor
Found in admin/images.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$section' which will lead to PHP notices.
Open

            $section['sid']      = $sid;
Severity: Minor
Found in blocks/myconference.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$section' which will lead to PHP notices.
Open

            $block['sections'][] = $section;
Severity: Minor
Found in blocks/myconference.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$date' which will lead to PHP notices.
Open

            $sqlquery = 'INSERT INTO ' . $xoopsDB->prefix('fm_pics') . " ( picID, name, filename, caption, uploaded ) values ( '', '$name', '$filename', '$caption', '$date' )";
Severity: Minor
Found in admin/images.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$caption' which will lead to PHP notices.
Open

            if ($xoopsDB->query('UPDATE ' . $xoopsDB->prefix('fm_pics') . " SET name = '$name', filename = '$filename', caption = '$caption' WHERE picID = '$picID'")) {
Severity: Minor
Found in admin/images.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$xoopsDB' which will lead to PHP notices.
Open

    $sql = 'DELETE FROM ' . $xoopsDB->prefix('tplfile') . " WHERE `tpl_module` = '" . $xoopsModule->getVar('dirname', 'n') . "' AND `tpl_file` LIKE '%.html%'";
Severity: Minor
Found in include/oninstall.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Avoid using undefined variables such as '$picID' which will lead to PHP notices.
Open

        if (!$picID) {
Severity: Minor
Found in admin/images.php by phpmd

UndefinedVariable

Since: 2.8.0

Detects when a variable is used that has not been defined before.

Example

class Foo
{
    private function bar()
    {
        // $message is undefined
        echo $message;
    }
}

Source https://phpmd.org/rules/cleancode.html#undefinedvariable

Severity
Category
Status
Source
Language