Webgui code improvements for dropdown handling
This commit is contained in:
+1
-1
@@ -351,7 +351,7 @@ if ($user->role == 'captain') {
|
||||
|
||||
// Storage: 0 - default, 1 - tank
|
||||
// $stype = [ 0 => _('Default'), 1 => _('Tank')];
|
||||
$stype = db_get_options(3);
|
||||
$stype = db_get_options(DD_STORAGE_TYPE);
|
||||
$sql = "SELECT stype, COUNT(stype) "
|
||||
. "FROM storage "
|
||||
. "WHERE vid=? "
|
||||
|
||||
Reference in New Issue
Block a user