Fixed multiline if statements.
This commit is contained in:
parent
28cef528fe
commit
54a7d9b9af
1 changed files with 2 additions and 4 deletions
6
ajax.php
6
ajax.php
|
@ -111,8 +111,7 @@ if ($_GET['section'] == "localTx") {
|
||||||
}
|
}
|
||||||
if (defined("ENABLEXTDLOOKUP")) {
|
if (defined("ENABLEXTDLOOKUP")) {
|
||||||
//$listElem[11] ="";
|
//$listElem[11] ="";
|
||||||
if (getEnabled("D-Star", $mmdvmconfigs) == 1 && $listElem[6] == "RF" && ($listElem[1]=="D-Star" || startsWith($listElem[1], "DMR") || $listElem[1]=="YSF" || $listElem[1]=="P25" || $listElem[1]=="NXDN") || \
|
if (getEnabled("D-Star", $mmdvmconfigs) == 1 && $listElem[6] == "RF" && ($listElem[1]=="D-Star" || startsWith($listElem[1], "DMR") || $listElem[1]=="YSF" || $listElem[1]=="P25" || $listElem[1]=="NXDN") || getEnabled("D-Star", $mmdvmconfigs) == 0 && $listElem[5] == "RF" && ($listElem[1]=="D-Star" || startsWith($listElem[1], "DMR") || $listElem[1]=="YSF" || $listElem[1]=="P25" || $listElem[1]=="NXDN")) {
|
||||||
getEnabled("D-Star", $mmdvmconfigs) == 0 && $listElem[5] == "RF" && ($listElem[1]=="D-Star" || startsWith($listElem[1], "DMR") || $listElem[1]=="YSF" || $listElem[1]=="P25" || $listElem[1]=="NXDN")) {
|
|
||||||
$listElem[3] = getName($call_canon);
|
$listElem[3] = getName($call_canon);
|
||||||
if ($listElem[2] !== "??????????") {
|
if ($listElem[2] !== "??????????") {
|
||||||
if (!is_numeric($listElem[2])) {
|
if (!is_numeric($listElem[2])) {
|
||||||
|
@ -130,8 +129,7 @@ if ($_GET['section'] == "localTx") {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
//$listElem[10] ="";
|
//$listElem[10] ="";
|
||||||
if (getEnabled("D-Star", $mmdvmconfigs) == 1 && $listElem[5] == "RF" && ($listElem[1]=="D-Star" || startsWith($listElem[1], "DMR") || $listElem[1]=="YSF" || $listElem[1]=="P25" || $listElem[1]=="NXDN") || \
|
if (getEnabled("D-Star", $mmdvmconfigs) == 1 && $listElem[5] == "RF" && ($listElem[1]=="D-Star" || startsWith($listElem[1], "DMR") || $listElem[1]=="YSF" || $listElem[1]=="P25" || $listElem[1]=="NXDN") || getEnabled("D-Star", $mmdvmconfigs) == 0 && $listElem[4] == "RF" && ($listElem[1]=="D-Star" || startsWith($listElem[1], "DMR") || $listElem[1]=="YSF" || $listElem[1]=="P25" || $listElem[1]=="NXDN")) {
|
||||||
getEnabled("D-Star", $mmdvmconfigs) == 0 && $listElem[4] == "RF" && ($listElem[1]=="D-Star" || startsWith($listElem[1], "DMR") || $listElem[1]=="YSF" || $listElem[1]=="P25" || $listElem[1]=="NXDN")) {
|
|
||||||
if ($listElem[2] !== "??????????") {
|
if ($listElem[2] !== "??????????") {
|
||||||
if (!is_numeric($listElem[2])) {
|
if (!is_numeric($listElem[2])) {
|
||||||
if (defined("SHOWQRZ")) {
|
if (defined("SHOWQRZ")) {
|
||||||
|
|
Loading…
Reference in a new issue