diff options
author | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2024-02-10 06:23:21 +0000 |
---|---|---|
committer | petko <petko@524c5546-5005-0410-9a3e-e25e191bd360> | 2024-02-10 06:23:21 +0000 |
commit | 99fa594684b0842171af391fa9e86b93ca02d428 (patch) | |
tree | 1d3ced9e21c6977b4e20a60d626f797e7b6fa709 /scripts | |
parent | 0a67e7e373c2530e8ad2afddcfb350dc68307ac6 (diff) | |
download | pmwiki.svn-99fa594684b0842171af391fa9e86b93ca02d428.tar.bz2 |
Refactor $PostConfig to allow called functions to update it (cont.)
git-svn-id: svn://pmwiki.org/pmwiki/trunk@4621 524c5546-5005-0410-9a3e-e25e191bd360
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/stdconfig.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/stdconfig.php b/scripts/stdconfig.php index 4efe128d..b7d33a91 100644 --- a/scripts/stdconfig.php +++ b/scripts/stdconfig.php @@ -33,7 +33,7 @@ if (IsEnabled($EnablePGCust,1)) asort($PostConfig, SORT_NUMERIC); while(count($PostConfig)) { - $k = array_key_first($PostConfig); + $k = array_keys($PostConfig)[0]; $v = $PostConfig[$k]; if($v>=50) break; array_shift($PostConfig); |