From b56034ddd27a5fdc29c28fddb9d6d01f8ec2f426 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 12 Mar 2023 17:55:57 -0400 Subject: [PATCH] Cast the base URL as string in /friendica/json - This was causing the data.url key to have no value, which broke the directory integration --- src/Module/Friendica.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Module/Friendica.php b/src/Module/Friendica.php index 2c669e886c..90869878e4 100644 --- a/src/Module/Friendica.php +++ b/src/Module/Friendica.php @@ -172,7 +172,7 @@ class Friendica extends BaseModule $data = [ 'version' => App::VERSION, - 'url' => DI::baseUrl(), + 'url' => (string)DI::baseUrl(), 'addons' => $visible_addons, 'locked_features' => $locked_features, 'explicit_content' => intval($config->get('system', 'explicit_content', 0)),