Skip to content

Commit 389a551

Browse files
authored
Fixed dynamic properties deprecation in PHP 8.2 (h5p#169)
1 parent b08ca76 commit 389a551

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

h5peditor-file.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*/
66
class H5peditorFile {
77
private $result, $field, $interface;
8-
public $type, $name, $path, $mime, $size;
8+
public $type, $name, $path, $mime, $size, $extension;
99

1010
/**
1111
* Constructor. Process data for file uploaded through the editor.

h5peditor.class.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class H5peditor {
5151
'ckeditor/ckeditor.js',
5252
);
5353
private $h5p, $storage;
54-
public $ajax, $ajaxInterface;
54+
public $ajax, $ajaxInterface, $content;
5555

5656
/**
5757
* Constructor for the core editor library.

0 commit comments

Comments
 (0)