mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
fix bug in BGPv4 API controller which prevents reload of the table and modal closing
This commit is contained in:
committed by
Franco Fichtner
parent
4c5abf289c
commit
73d0ec3227
@@ -115,6 +115,7 @@ class BgpController extends ApiMutableModelControllerBase
|
||||
$result["validations"][$fieldnm] = $msg->getMessage();
|
||||
}
|
||||
if (count($result['validations']) == 0) {
|
||||
unset($result['validations']);
|
||||
// save config if validated correctly
|
||||
$mdlBGP->serializeToConfig();
|
||||
Config::getInstance()->save();
|
||||
|
||||
Reference in New Issue
Block a user