aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/mobilepane_left.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/mobilepane_left.php')
-rw-r--r--templates/mobilepane_left.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/mobilepane_left.php b/templates/mobilepane_left.php
index f71279c..daab401 100644
--- a/templates/mobilepane_left.php
+++ b/templates/mobilepane_left.php
@@ -1,6 +1,8 @@
<?php
use Digitigrade\GlobalSettings;
+use Digitigrade\Model\UserAccount;
+$user = UserAccount::requireByCurrentSession();
$settings = GlobalSettings::getInstance();
?>
<!DOCTYPE html>
@@ -29,7 +31,7 @@ $settings = GlobalSettings::getInstance();
];
call_template('navigation_links', ['links' => $links]);
- call_template('write_note_form');
+ call_template('write_note_form', ['actor' => $user->actor]);
call_template('left_side_navigation');
?>
<p class="versionInfo"><?= sprintf(__('version'), get_version()) ?></p>