Skip to content

Uninitialized string offset on line 828 #19

@phplaw

Description

@phplaw

Uninitialized string offset: 59 application/third_party/tcpdf/tcpdi_parser.php 828
The line on 828

$frag = $data{$offset} . @$data{$offset+1} . @$data{$offset+2} . @$data{$offset+3};

Should change to

$frag = isset($data{$offset}) ? $data{$offset} : '';
                $frag .= isset($data{$offset+1}) ? $data{$offset+1} : '';
                $frag .= isset($data{$offset+2}) ? $data{$offset+2} : '';
                $frag .= isset($data{$offset+3}) ? $data{$offset+3} : '';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions