X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fcontent.php;h=cec23a91421ad4a23eaea3e78b896581878fb86e;hb=836058c47745f502890a209dfd6efcb3596ace84;hp=e20345307d9b9b74644485e7bc5d5df3dbcbef8f;hpb=1cf3e778e83dafb3a5800540702ac6b7b8648989;p=friendica.git diff --git a/mod/content.php b/mod/content.php index e20345307d..cec23a9142 100644 --- a/mod/content.php +++ b/mod/content.php @@ -425,7 +425,7 @@ function render_content(&$a, $items, $mode, $update, $preview = false) { $locate = array('location' => $item['location'], 'coord' => $item['coord'], 'html' => ''); call_hooks('render_location',$locate); - $location = ((strlen($locate['html'])) ? $locate['html'] : render_location_google($locate)); + $location = ((strlen($locate['html'])) ? $locate['html'] : render_location_dummy($locate)); localize_item($item); if($mode === 'network-new') @@ -799,7 +799,7 @@ function render_content(&$a, $items, $mode, $update, $preview = false) { $locate = array('location' => $item['location'], 'coord' => $item['coord'], 'html' => ''); call_hooks('render_location',$locate); - $location = ((strlen($locate['html'])) ? $locate['html'] : render_location_google($locate)); + $location = ((strlen($locate['html'])) ? $locate['html'] : render_location_dummy($locate)); $indent = (($toplevelpost) ? '' : ' comment');