Update functions.php

This commit is contained in:
Kim - DG9VH 2020-08-31 21:03:00 +02:00 committed by GitHub
parent 157274df45
commit 4b02cb3ffe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -168,7 +168,7 @@ function getDMRId ($mmdvmconfigs) {
function getConfigItem($section, $key, $configs) { function getConfigItem($section, $key, $configs) {
// retrieves the corresponding config-entry within a [section] // retrieves the corresponding config-entry within a [section]
$sectionpos = arraye_search("[" . $section . "]", $configs); $sectionpos = array_search("[" . $section . "]", $configs);
if ($sectionpos !== FALSE) { if ($sectionpos !== FALSE) {
$sectionpos++; $sectionpos++;
$len = count($configs); $len = count($configs);