mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 13:24:01 -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
|
@ -152,7 +152,7 @@ function generate_smilies($mode)
|
|||
$row = 0;
|
||||
$col = 0;
|
||||
|
||||
while (list($smile_url, $data) = @each($rowset)) {
|
||||
foreach ($rowset as $smile_url => $data) {
|
||||
if (!$col) {
|
||||
$template->assign_block_vars('smilies_row', array());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue