mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-21 13:54:02 -07:00
Some fixes, auto language removal (so buggy) and replenishable status.
This commit is contained in:
parent
a89211a915
commit
2ac12a2e54
9 changed files with 35 additions and 43 deletions
|
@ -376,8 +376,11 @@ if (!$set_default) {
|
|||
elseif ($req_forums =& $_REQUEST[$forum_key]) {
|
||||
if ($req_forums != $search_all) {
|
||||
$clean_forums = [];
|
||||
if (is_array($req_forums)) {
|
||||
$req_forums = implode(',', $req_forums);
|
||||
}
|
||||
foreach (explode(',', $req_forums) as $req_forum) {
|
||||
$clean_forums[] = (int) $req_forum;
|
||||
$clean_forums[] = (int)$req_forum;
|
||||
}
|
||||
$forum_val = implode(',', array_intersect($clean_forums, $allowed_forums));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue