mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-14 18:48:21 -07:00
Deprecated each() function in php 7.2
This commit is contained in:
parent
0aae80ba8e
commit
3d817078a6
15 changed files with 49 additions and 45 deletions
|
@ -39,7 +39,7 @@ function return_msg_mcp($status_msg)
|
|||
global $topic_id, $req_topics, $forum_id, $lang, $mode;
|
||||
|
||||
if (count($req_topics) == 1) {
|
||||
$topic_id = $req_topics[0];
|
||||
$topic_id = reset($req_topics);
|
||||
}
|
||||
|
||||
$message = $status_msg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue