Update template.php
This commit is contained in:
parent
23ed01c8d9
commit
4a8f384ef7
@ -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 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
Loading…
Reference in New Issue
Block a user