Skip to content
Snippets Groups Projects

Issue #3512119 by joseph.olstad: Deprecated function: Creation of dynamic...

Open Issue #3512119 by joseph.olstad: Deprecated function: Creation of dynamic...
3 unresolved threads
3 unresolved threads
1 file
+ 4
0
Compare changes
  • Side-by-side
  • Inline
+ 4
0
@@ -42,6 +42,7 @@ class Filebrowser {
public $gridWidth;
public $gridHideTitle;
public $externalHost;
public $externalhost;
    • This is required, otherwise the unserialize on line 58 throws a Deprecated function: Creation of dynamic properties. This is part 2 of a 2 part fix.

Please register or sign in to reply
/**
* Filebrowser constructor.
@@ -57,6 +58,9 @@ class Filebrowser {
// $this->folderPathEncoded = $node_settings['folder_path_encoded'];
$properties = unserialize($node_settings['properties']);
foreach ($properties as $property => $value) {
if ($property == 'externalhost') {
Please register or sign in to reply
$property = 'externalHost';
Please register or sign in to reply
}
$this->$property = $value;
}
}
Loading