Update template.php

This commit is contained in:
Fernando Méndez 2021-05-18 10:01:43 +02:00 committed by GitHub
parent 23ed01c8d9
commit 4a8f384ef7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,7 +92,7 @@
} }
if(isset($_SESSION["lastRol"]) && ($_SESSION["lastRol"] === "admin" || $_SESSION["lastRol"] === "manager" )){ if(isset($_SESSION["lastRol"]) && ($_SESSION["lastRol"] === "admin" || $_SESSION["lastRol"] === "manager" )){
$changeRol = "<a href='{$prefix}assets/php/common/reRol.php'><li class='danger'>Volver a {$_SESSION["lastRol"]}</li></a>"; $changeRol = "<a href='{$prefix}assets/php/common/resetRol.php'><li class='danger'>Volver a {$_SESSION["lastRol"]}</li></a>";
} else { } else {
$changeRol = null; $changeRol = null;
} }
@ -520,4 +520,4 @@
} }
} }
?> ?>