Merge branch 'master' of https://github.apps.lci.ulsa.mx/PAAD/paad
Some checks are pending
Deploy Pruebas / deploy (push) Waiting to run
Some checks are pending
Deploy Pruebas / deploy (push) Waiting to run
This commit is contained in:
@@ -3,6 +3,8 @@ $ruta = "../";
|
||||
require_once "../include/bd_pdo.php";
|
||||
global $db, $pdo;
|
||||
|
||||
print_r($_POST);
|
||||
|
||||
try {
|
||||
// Begin transaction
|
||||
$pdo->beginTransaction();
|
||||
@@ -50,9 +52,8 @@ try {
|
||||
'permiso_tipo' => $actual[2],
|
||||
]);
|
||||
}
|
||||
|
||||
// Commit the transaction
|
||||
$db->commit();
|
||||
$pdo->commit();
|
||||
|
||||
// Redirect to permisos.php
|
||||
header("Location: ../permisos.php");
|
||||
|
||||
Reference in New Issue
Block a user