Set the database value for the database interface

Fix #13119

Signed-off-by: Deven Bansod <devenbansod.bits@gmail.com>
This commit is contained in:
Deven Bansod 2017-03-24 21:36:18 +05:30
parent 0a3a1f07c4
commit 035d7cb097

View File

@ -112,6 +112,9 @@ class TableRelationController extends TableController
)
);
// Set the database
$this->dbi->selectDb($this->db);
// updates for Internal relations
if (isset($_POST['destination_db']) && $this->cfgRelation['relwork']) {
$this->updateForInternalRelationAction();