add All and remove default from Storage dropdown options

This commit is contained in:
Isaac Connor 2018-02-02 12:48:49 -05:00
parent 060e6893cc
commit dee843d7da
1 changed files with 2 additions and 2 deletions

View File

@ -127,8 +127,8 @@ $archiveTypes = array(
$focusWindow = true; $focusWindow = true;
$storageareas = array(); $storageareas = array( '' => 'All' );
$storageareas[0] = 'Default ' . ZM_DIR_EVENTS; //$storageareas[0] = 'Default ' . ZM_DIR_EVENTS;
foreach ( dbFetchAll( 'SELECT Id,Name FROM Storage ORDER BY lower(Name) ASC' ) as $storage ) { foreach ( dbFetchAll( 'SELECT Id,Name FROM Storage ORDER BY lower(Name) ASC' ) as $storage ) {
$storageareas[$storage['Id']] = $storage['Name']; $storageareas[$storage['Id']] = $storage['Name'];
} }