diff --git a/src/SingleShotAO.cpp b/src/SingleShotAO.cpp index 12080ad1b6e0e2610e965d2e23eeb08c173848bb..9a61cc085325b14735d08b1b19cf0a8c59b61ad9 100755 --- a/src/SingleShotAO.cpp +++ b/src/SingleShotAO.cpp @@ -797,7 +797,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;