summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-24 01:03:43 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-24 01:03:43 +0000
commit4fcae58f72924bd154206e625f477651d17a3c05 (patch)
treed8ac46b8154f4574e2aa83c90428aa6310eaee17
parent4c12ef0a4f7e819c91f0a720d1d85490798332d5 (diff)
downloadpfsense-4fcae58f72924bd154206e625f477651d17a3c05.zip
pfsense-4fcae58f72924bd154206e625f477651d17a3c05.tar.gz
Show which route is being deleted, not the id of the config row
-rwxr-xr-xusr/local/www/system_routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/system_routes.php b/usr/local/www/system_routes.php
index ae918e1..12e837b 100755
--- a/usr/local/www/system_routes.php
+++ b/usr/local/www/system_routes.php
@@ -92,7 +92,7 @@ if ($_POST) {
if ($_GET['act'] == "del") {
if ($a_routes[$_GET['id']]) {
- $changedesc .= "removed route to {$_GET['id']}";
+ $changedesc .= "removed route to " . $a_routes[$_GET['id']['route']];
unset($a_routes[$_GET['id']]);
write_config($changedesc);
touch($d_staticroutesdirty_path);
OpenPOWER on IntegriCloud