diff options
author | RaindropsSys <contact@minteck.org> | 2023-04-19 18:14:25 +0200 |
---|---|---|
committer | RaindropsSys <contact@minteck.org> | 2023-04-19 18:14:25 +0200 |
commit | d279cb3eefb78ff539433d001ea19ce3a33d1576 (patch) | |
tree | 8cd222b97fd09ba07c1bf1551923118e3ab2b4ab /pages/rules.inc | |
parent | 9161d7c342e71612d2e8ebf5290dcbbe9eaaa483 (diff) | |
download | pluralconnect-d279cb3eefb78ff539433d001ea19ce3a33d1576.tar.gz pluralconnect-d279cb3eefb78ff539433d001ea19ce3a33d1576.tar.bz2 pluralconnect-d279cb3eefb78ff539433d001ea19ce3a33d1576.zip |
Updated 2 files (automated)
Diffstat (limited to 'pages/rules.inc')
-rw-r--r-- | pages/rules.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pages/rules.inc b/pages/rules.inc index 1238b7d..967a4b4 100644 --- a/pages/rules.inc +++ b/pages/rules.inc @@ -58,7 +58,7 @@ require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/components/header.inc'; ?> - <?php $index = 1; foreach ($rules as $rule): ?> + <?php foreach (array_values($rules) as $index => $rule): $index++; ?> <h4 style="margin-top: 20px;"> <b>Rule <?= $index ?>: <?= str_replace("<", "<", str_replace(">", ">", $rule["name"])) ?></b> <?php if (in_array(false, $rule["approved"])): ?> |