Skip to content
This repository was archived by the owner on Jul 7, 2023. It is now read-only.

type cast $selected variable on restore #1

@pjosephson

Description

@pjosephson

You will need to cast $selected variable (around line 219) on the restore or you may get an empty character which makes the file name incorrect.

$file = new File($this->folder . $config . DS . $selected . '' . $versions[(int)$selected]['file']);
to
$file = new File($this->folder . $config . DS . (int) $selected . '
' . $versions[(int)$selected]['file']);

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