aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Rpost.php
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2024-06-12 17:08:29 +0200
committerHarald Eilertsen <haraldei@anduin.net>2024-06-13 13:34:20 +0200
commitfb1c66fbc9705961454d86770511642b97b41c1a (patch)
treeb1dc55f9250cce0d4f23db9210aca6cfbff96dd9 /Zotlabs/Module/Rpost.php
parentd02fa7c26805dd485b1d16e99a26a5b9a858deda (diff)
downloadvolse-hubzilla-fb1c66fbc9705961454d86770511642b97b41c1a.tar.gz
volse-hubzilla-fb1c66fbc9705961454d86770511642b97b41c1a.tar.bz2
volse-hubzilla-fb1c66fbc9705961454d86770511642b97b41c1a.zip
Fix warnings exposed by tests.
Mainly missing variables for templates, and channel entries.
Diffstat (limited to 'Zotlabs/Module/Rpost.php')
-rw-r--r--Zotlabs/Module/Rpost.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/Zotlabs/Module/Rpost.php b/Zotlabs/Module/Rpost.php
index 76ff69643..3b64fd2d8 100644
--- a/Zotlabs/Module/Rpost.php
+++ b/Zotlabs/Module/Rpost.php
@@ -119,7 +119,8 @@ class Rpost extends \Zotlabs\Web\Controller {
return replace_macros(get_markup_template('edpost_head.tpl'), array(
'$title' => t('Edit post'),
'$cancel' => '',
- '$editor' => $editor
+ '$editor' => $editor,
+ '$delete' => null,
));
}