X-Git-Url: https://git.llucax.com/mecon/samurai.git/blobdiff_plain/1fce1689d24ee6eed11644946bfa777a06d2ef8e..bc9cb335c80eb662a22d449743c33584afd1e1b0:/lib/SAMURAI/Permiso.php diff --git a/lib/SAMURAI/Permiso.php b/lib/SAMURAI/Permiso.php index ba385a0..a6004e0 100644 --- a/lib/SAMURAI/Permiso.php +++ b/lib/SAMURAI/Permiso.php @@ -232,7 +232,7 @@ class SAMURAI_Permiso { 'desc_permiso' => $this->getDescripcion(), 'responsable' => $this->getResponsable(), ); - return $this->_db->autoExecute('permiso', $datos, DB_AUTOQUERY_INSERT); + return $this->_db->autoExecute('samurai.permiso', $datos, DB_AUTOQUERY_INSERT); } // -X2C @@ -283,7 +283,7 @@ class SAMURAI_Permiso { 'desc_permiso' => $this->getDescripcion(), 'responsable' => $this->getResponsable(), ); - return $this->_db->autoExecute('permiso', $datos, DB_AUTOQUERY_UPDATE, 'id_permiso ='.$this->getId()); + return $this->_db->autoExecute('samurai.permiso', $datos, DB_AUTOQUERY_UPDATE, 'id_permiso ='.$this->getId()); } // -X2C