aboutsummaryrefslogtreecommitdiffstats
path: root/include/text.php
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2022-10-20 19:25:01 +0000
committerMario <mario@mariovavti.com>2022-10-20 19:25:01 +0000
commit7ca289edd0d568a51dfdf225a5ef0e9663c38838 (patch)
tree5af544fa0ff7ca29fad5b57240a7ed2d66c5b2cf /include/text.php
parentbf434818d7cfac6bf29482d4bb07fc567de2fc90 (diff)
downloadvolse-hubzilla-7ca289edd0d568a51dfdf225a5ef0e9663c38838.tar.gz
volse-hubzilla-7ca289edd0d568a51dfdf225a5ef0e9663c38838.tar.bz2
volse-hubzilla-7ca289edd0d568a51dfdf225a5ef0e9663c38838.zip
fix php warnings
Diffstat (limited to 'include/text.php')
-rw-r--r--include/text.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/text.php b/include/text.php
index 220844fd1..d0092912b 100644
--- a/include/text.php
+++ b/include/text.php
@@ -2206,6 +2206,8 @@ function mimetype_select($channel_id, $current = 'text/bbcode', $choices = null,
$x['application/x-php'] = t('PHP');
}
+ $options = '';
+
foreach($x as $y => $z) {
$selected = (($y == $current) ? ' selected="selected" ' : '');
$options .= '<option value="' . $y . '"' . $selected . '>' . $z . '</option>';