mirror of
https://github.com/thooge/esp32-nmea2000-obp60.git
synced 2025-12-13 05:53:06 +01:00
ensure to load buildconfig from selected git sha
This commit is contained in:
@@ -39,7 +39,7 @@ function addVars(&$vars,$names,$defaults=null){
|
||||
foreach ($names as $n){
|
||||
$v=null;
|
||||
if (! isset($_REQUEST[$n])){
|
||||
if ($defaults == null || ! isset($defaults[$n])) die("missing parameter $n");
|
||||
if ($defaults == null || ! isset($defaults[$n])) throw new Exception("missing parameter $n");
|
||||
$v=$defaults[$n];
|
||||
}
|
||||
else{
|
||||
|
||||
Reference in New Issue
Block a user