aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2025-05-22 18:52:52 +0200
committerHarald Eilertsen <haraldei@anduin.net>2025-05-22 19:03:06 +0200
commitea6893e3a3cbe335ba32b5bb186c379bdd1d2187 (patch)
tree22533c32d5dad89c6205721b4f45768b7bd83bab /Zotlabs/Module
parent8a211aff971fd9ac584439690f6022f1ead95234 (diff)
downloadvolse-hubzilla-ea6893e3a3cbe335ba32b5bb186c379bdd1d2187.tar.gz
volse-hubzilla-ea6893e3a3cbe335ba32b5bb186c379bdd1d2187.tar.bz2
volse-hubzilla-ea6893e3a3cbe335ba32b5bb186c379bdd1d2187.zip
Fix undefined var in Module/Invite.php
The variables $invexpire_n and $invexpire_u was undefined, but references multiple times in a conditional. Just removed them which should cause no changed behaviour.
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r--Zotlabs/Module/Invite.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zotlabs/Module/Invite.php b/Zotlabs/Module/Invite.php
index 7f64b5400..aff0e9340 100644
--- a/Zotlabs/Module/Invite.php
+++ b/Zotlabs/Module/Invite.php
@@ -403,11 +403,11 @@ class Invite extends Controller {
'field' => array(
'name' => 'expire',
'title' => t('duration up from now'),
- 'value' => ($invexpire_n ? $invexpire_n : 2),
+ 'value' => 2,
'min' => '1',
'max' => '99',
'size' => '2',
- 'default' => ($invexpire_u ? $invexpire_u : 'd')
+ 'default' => 'd',
),
'rabot' => $inv_rabots
)