Merge branch 'dev' of ../rebble.net into dev

This commit is contained in:
Mike Macgirvin 2022-10-29 13:18:50 -07:00
commit adcf51577f
2 changed files with 2 additions and 2 deletions

View file

@ -149,7 +149,7 @@ class Channel
}
}
$ntags = strtoarr(string: $_POST['followed_tags']);
$ntags = strtoarr(',', $_POST['followed_tags']);
set_pconfig(local_channel(), 'system', 'followed_tags', ($ntags) ?: EMPTY_STR);
set_pconfig(local_channel(), 'system', 'use_browser_location', $allow_location);

View file

@ -96,7 +96,7 @@ function notags($string)
// Basically explode(), but entries are trimmed and empty entries discarded.
function strtoarr($separator = ',', $string) {
function strtoarr($separator, $string) {
$array = [];
if ($string) {
$tmp = explode($separator, $string);