Add cozu preview

This commit is contained in:
José Luis Garrido Labrador
2017-10-27 09:28:06 +02:00
parent 00f7248a5b
commit 196f9b044d
3 changed files with 8 additions and 2 deletions

View File

@@ -150,7 +150,7 @@ function doc(){
function add(){
global $twig,$path,$user,$supported;
if(isset($user['IDU'])){
if(!isset($user['IDU'])){
header("Location: ?page=login");
}
if(isset($_POST['name'])){