Minor improvements (#882)

* Minor improvements

* Updated

* Updated

* Updated

* Update privmsg.php

* Updated

* Update admin_attach_cp.php
This commit is contained in:
Roman Kelesidis 2023-09-04 01:01:01 +07:00 committed by GitHub
commit 4b453de64a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
75 changed files with 699 additions and 735 deletions

View file

@ -693,7 +693,7 @@ if (!$mode || $show_main_page) {
}
// Okay, let's build the index
$gen_cat = array();
$gen_cat = [];
$bgr_class_1 = 'prow1';
$bgr_class_2 = 'prow2';
@ -923,7 +923,7 @@ function renumber_order($mode, $cat = 0)
*/
function get_cat_forums($cat_id = false)
{
$forums = array();
$forums = [];
$where_sql = '';
if ($cat_id = (int)$cat_id) {
@ -1019,7 +1019,7 @@ function get_orphan_sf()
global $cat_forums;
$last_root = 0;
$bad_sf_ary = array();
$bad_sf_ary = [];
foreach ($cat_forums as $cid => $c) {
foreach ($c['f'] as $fid => $f) {