From 51d8fa813f83415106f356d043ee64604b3840d4 Mon Sep 17 00:00:00 2001 From: kkalev Date: Thu, 2 Sep 2004 16:28:50 +0000 Subject: [PATCH] Make 'Add NAS' function in the nas admin page more easily accessible --- Changelog | 1 + htdocs/nas_admin.php3 | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/Changelog b/Changelog index 38e56c4..dd1d365 100644 --- a/Changelog +++ b/Changelog @@ -22,6 +22,7 @@ Ver 1.75: * Move a few header() calls after including config.php3 so that we have access to the relevant variables. * Make pagesize 'all' work again. Bug found by apellido jr., wilfredo p. +* Make 'Add NAS' function in the nas admin page more easily accessible Ver 1.72: * Move the xlat function to a separate file in lib/xlat.php3 * Add a lib/sql/nas_list.php3 to also get the nas list from sql (naslist.conf still works) diff --git a/htdocs/nas_admin.php3 b/htdocs/nas_admin.php3 index 6a6b5e9..1175805 100644 --- a/htdocs/nas_admin.php3 +++ b/htdocs/nas_admin.php3 @@ -34,7 +34,7 @@ EOM; } -if ($clear_fields == 1) +if ($clear_fields == 1 || ($do_it == 0 && $select_nas == 0)) $selected_nas = $readonly = ''; else $readonly = 'readonly'; @@ -264,9 +264,9 @@ EOM;