From 8b0d1b901cbfb0914aa7fb5bfdd6a73f9715bec2 Mon Sep 17 00:00:00 2001
From: "joseph.olstad" <joseph.olstad@1321830.no-reply.drupal.org>
Date: Mon, 10 Mar 2025 23:24:05 -0400
Subject: [PATCH] Issue #3512119 by joseph.olstad: Deprecated function:
 Creation of dynamic property externalhost line 60 of src/Filebrowser.php

---
 src/Filebrowser.php | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/Filebrowser.php b/src/Filebrowser.php
index 218f1c2..d5a627a 100644
--- a/src/Filebrowser.php
+++ b/src/Filebrowser.php
@@ -42,6 +42,7 @@ class Filebrowser {
   public $gridWidth;
   public $gridHideTitle;
   public $externalHost;
+  public $externalhost;
 
   /**
    * 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') {
+          $property = 'externalHost';
+        }
         $this->$property = $value;
       }
     }
-- 
GitLab