bernd commited on 2010-04-19 14:20:12
Zeige 1 geänderte Dateien mit 3 Einfügungen und 0 Löschungen.
git-svn-id: https://svn.schokokeks.org/repos/tools/webinterface/trunk@1726 87cf0b9e-d624-0410-a070-f6ee81989793
... | ... |
@@ -87,6 +87,9 @@ elseif ($_GET['action'] == 'edit') |
87 | 87 |
$shells = available_shells(); |
88 | 88 |
if (isset($shells[$_POST['shell']])) |
89 | 89 |
$account['shell'] = $_POST['shell']; |
90 |
+ else |
|
91 |
+ if (isset($_POST['shell']) && $_POST['shell'] != '') |
|
92 |
+ system_failure('Ungültige Shell'); |
|
90 | 93 |
|
91 | 94 |
set_account_details($account); |
92 | 95 |
$target = 'accounts'; |
93 | 96 |