@@ 26-30 (lines=5) @@ | ||
23 | ||
24 | $op = (isset($_GET['op'])) ? $_GET['op'] : 'default'; |
|
25 | ||
26 | if (isset($_GET['id'])) { |
|
27 | $cmdId = intval($_GET['id']); |
|
28 | } else { |
|
29 | oledrion_utils::redirect(_OLEDRION_ERROR11, 'index.php', 6); |
|
30 | } |
|
31 | ||
32 | if (isset($_GET['pass'])) { |
|
33 | $pass = $_GET['pass']; |
|
@@ 32-38 (lines=7) @@ | ||
29 | oledrion_utils::redirect(_OLEDRION_ERROR11, 'index.php', 6); |
|
30 | } |
|
31 | ||
32 | if (isset($_GET['pass'])) { |
|
33 | $pass = $_GET['pass']; |
|
34 | } else { |
|
35 | if (!oledrion_utils::isAdmin()) { |
|
36 | oledrion_utils::redirect(_OLEDRION_ERROR11, 'index.php', 6); |
|
37 | } |
|
38 | } |
|
39 | ||
40 | $order = null; |
|
41 | $order = $h_oledrion_commands->get($cmdId); |