Merged in julceslau/processmaker/3.0.1-GA (pull request #2528)

Fix little problem inserting check.data
This commit is contained in:
Julio Cesar Laura Avendaño
2015-07-28 09:56:16 -04:00
2 changed files with 5 additions and 1 deletions

View File

@@ -394,7 +394,7 @@ class workspaceTools
*/
private function getDatabase($rbac = false)
{
if (isset($this->db) && $this->db->isConnected() && $rbac == false) {
if (isset($this->db) && $this->db->isConnected() && ($rbac == false && $this->db->getDatabaseName() == $this->dbName)) {
return $this->db;
}