From: Hypolite Petovan Date: Sun, 12 Mar 2023 21:55:57 +0000 (-0400) Subject: Cast the base URL as string in /friendica/json X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=30e18517473b7d4f885a1877bb1a24fecc7c917f;p=friendica.git 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 --- 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)),