mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-20 00:55:19 +00:00
Merge branch 'dev' of ../rebble.net into dev
This commit is contained in:
commit
adcf51577f
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue