aboutsummaryrefslogtreecommitdiffstats
path: root/include/conversation.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2021-03-14 20:23:33 +0000
committerMario <mario@mariovavti.com>2021-03-14 20:23:33 +0000
commited64eba13adf55e564d127e1640409fccca00fd3 (patch)
treee2dc03df24bf03b9f04f96afebbc2245e1fecff8 /include/conversation.php
parent0fbd0ca416333ee5f675651be7bce5e82aad27fe (diff)
downloadvolse-hubzilla-ed64eba13adf55e564d127e1640409fccca00fd3.tar.gz
volse-hubzilla-ed64eba13adf55e564d127e1640409fccca00fd3.tar.bz2
volse-hubzilla-ed64eba13adf55e564d127e1640409fccca00fd3.zip
php8: fix some undefined variables
Diffstat (limited to 'include/conversation.php')
-rw-r--r--include/conversation.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/conversation.php b/include/conversation.php
index f3e5fafa7..04aa1ef5a 100644
--- a/include/conversation.php
+++ b/include/conversation.php
@@ -1313,6 +1313,7 @@ function hz_status_editor($a, $x, $popup = false) {
if($c && $c['channel_moved'])
return $o;
+ $webpage = ((x($x,'webpage')) ? $x['webpage'] : '');
$plaintext = true;
$feature_nocomment = feature_enabled($x['profile_uid'], 'disable_comments');
@@ -1366,8 +1367,6 @@ function hz_status_editor($a, $x, $popup = false) {
else
$id_select = '';
- $webpage = ((x($x,'webpage')) ? $x['webpage'] : '');
-
$reset = ((x($x,'reset')) ? $x['reset'] : '');
$feature_auto_save_draft = ((feature_enabled($x['profile_uid'], 'auto_save_draft')) ? "true" : "false");