Revision 23fafd14
Added by Ermal LUÇI almost 15 years ago
usr/local/www/system_gateways_edit.php | ||
---|---|---|
129 | 129 |
/* check for overlaps */ |
130 | 130 |
foreach ($a_gateways as $gateway) { |
131 | 131 |
if (isset($id) && ($a_gateways[$id]) && ($a_gateways[$id] === $gateway)) { |
132 |
if ($gateway['name'] != $_POST['name']) |
|
133 |
$input_errors[] = gettext("Changing name on a gateway is not allowed because it can leave stale gateways around."); |
|
132 | 134 |
continue; |
133 | 135 |
} |
134 | 136 |
if($_POST['name'] <> "") { |
Also available in: Unified diff
Do not allow a gateway to be renamed. Possibly a better solution is to rename the gateway in all pointed places!