diff --git a/src/SingleShotAO.cpp b/src/SingleShotAO.cpp index d02281cdd56452f95371c2b767f61ef0d4ad10fd..f00de3a7fad1a11ff2b43bb004b719bbd693ed9e 100755 --- a/src/SingleShotAO.cpp +++ b/src/SingleShotAO.cpp @@ -796,7 +796,7 @@ void SingleShotAO::get_device_property() //- <BoardType> ----------------------- // Case 1 (error): boardType is set to the default value in the database - if (boardType == boardType_default) + if (boardType == boardType_default || boardType == "") { errorMessages << "Device property <BoardType> is not set (default value " << boardType_default << " needs to be replaced)" << endl; critical_properties_missing = true;