edit_perm_templ.php
changeset 126 cb06e3e29ed8
parent 119 f74e4f88b680
equal deleted inserted replaced
125:700a3674b72e 126:cb06e3e29ed8
    27 	$id = $_GET['id'] ;
    27 	$id = $_GET['id'] ;
    28 }
    28 }
    29 
    29 
    30 if ($id == "-1") {
    30 if ($id == "-1") {
    31 	error(ERR_INV_INPUT);
    31 	error(ERR_INV_INPUT);
    32 } elseif (!verify_permission(templ_perm_edit)) {
    32 } elseif (!verify_permission('templ_perm_edit')) {
    33 	error(ERR_PERM_EDIT_PERM_TEMPL);
    33 	error(ERR_PERM_EDIT_PERM_TEMPL);
    34 } else {
    34 } else {
    35 	$id = $_GET['id'];
    35 	$id = $_GET['id'];
    36 
    36 
    37 	if (isset($_POST['commit'])) {
    37 	if (isset($_POST['commit'])) {