Merge pull request #160 from pjao/master

Fix DMR-Id change of section from DMR to General
This commit is contained in:
Florian (DF2ET) 2017-08-27 04:11:01 +02:00 committed by GitHub
commit f037a72c02

View file

@ -161,7 +161,7 @@ function getCallsign($mmdvmconfigs) {
function getDMRId ($mmdvmconfigs) {
// returns DMRId from MMDVM-Config
return getConfigItem("DMR", "Id", $mmdvmconfigs);
return getConfigItem("General", "Id", $mmdvmconfigs);
}
function getConfigItem($section, $key, $configs) {
// retrieves the corresponding config-entry within a [section]