]> git.mxchange.org Git - friendica.git/blobdiff - src/Module/Post/Edit.php
Adjust class references to the new location
[friendica.git] / src / Module / Post / Edit.php
index ed5ce00628d3a3c4feb7ed37d54f4dd0431b45ab..11c50ff130408e5d3a0afa53dae0a0a68d54b21d 100644 (file)
@@ -82,8 +82,10 @@ class Edit extends BaseModule
                        $this->errorExit($this->t('Post not found.'), HTTPException\BadRequestException::class);
                }
 
-               $fields = ['allow_cid', 'allow_gid', 'deny_cid', 'deny_gid',
-                                  'body', 'title', 'uri-id', 'wall', 'post-type', 'guid'];
+               $fields = [
+                       'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid',
+                       'body', 'title', 'uri-id', 'wall', 'post-type', 'guid'
+               ];
 
                $item = Post::selectFirstForUser($this->session->getLocalUserId(), $fields, [
                        'id'  => $postId,
@@ -102,6 +104,7 @@ class Edit extends BaseModule
 
                $this->page['htmlhead'] .= Renderer::replaceMacros(Renderer::getMarkupTemplate('jot-header.tpl'), [
                        '$ispublic'  => ' ',
+                       '$geotag'    => '',
                        '$nickname'  => $this->app->getLoggedInUserNickname(),
                        '$is_mobile' => $this->mode->isMobile(),
                ]);