equal
deleted
inserted
replaced
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'])) { |