StorageId now defaults to 0 and database column now set to NOT NULL. Changed default Id in php to match

This commit is contained in:
bhaal2 2016-09-14 23:56:05 +10:00
parent 33fc47c4b1
commit cd0e6ba285
1 changed files with 1 additions and 1 deletions

View File

@ -683,7 +683,7 @@ switch ( $tab )
</td></tr>
<tr><td><?php echo translate('StorageArea') ?></td><td>
<?php
$storage_areas = array(''=>'Default');
$storage_areas = array(0=>'Default');
$result = dbQuery( 'SELECT * FROM Storage ORDER BY Name');
$results = $result->fetchALL(PDO::FETCH_CLASS | PDO::FETCH_PROPS_LATE, 'Storage' );
foreach ( $results as $row => $storage_obj ) {