Webgui code improvements for dropdown handling
This commit is contained in:
+3
-3
@@ -14,8 +14,8 @@ $pagetitle = _('Fuses');
|
||||
|
||||
$id = gpc_get_int($_REQUEST, 'id', 0);
|
||||
|
||||
$opt_ftype = db_get_options(7);
|
||||
$opt_location = db_get_options(10);
|
||||
$opt_ftype = db_get_options(DD_FUSE_TYPE);
|
||||
$opt_location = db_get_options(DD_FUSE_BLOCK);
|
||||
|
||||
// ========== ACTIONS START ===================================================
|
||||
|
||||
@@ -94,7 +94,7 @@ if ($action == ACT_DEFAULT):
|
||||
// ========== VARIANT: default behavior =======================================
|
||||
|
||||
// lookup tables
|
||||
$opt_ftype_short = db_get_options(7, '', true);
|
||||
$opt_ftype_short = db_get_options(DD_FUSE_TYPE, '', true);
|
||||
|
||||
// load filter from db
|
||||
$flt = db_get_filter($user->id, 212);
|
||||
|
||||
Reference in New Issue
Block a user