e107inc/e107

View on GitHub
e107_core/shortcodes/single/wmessage.php

Summary

Maintainability
A
45 mins
Test Coverage
F
33%

Avoid deeply nested control flow statements.
Open

                    if(!$wmcaption)
                    {
                        $wmcaption = $tp->toHTML($row['gen_ip'], TRUE, 'TITLE');
                    }
Severity: Major
Found in e107_core/shortcodes/single/wmessage.php - About 45 mins to fix

    Argument 2 (Data) is ?array|?string but \ecache::set() takes string defined at /code/e107_handlers/cache_handler.php:235
    Open

                    $e107cache->set('wmessage', $cache_data);

    There are no issues that match your filters.

    Category
    Status