handle when storage area is gone

pull/2077/head
Isaac Connor 2018-04-04 20:27:21 -04:00
parent 1033755dc8
commit 2f6adff1b2
1 changed files with 2 additions and 2 deletions

View File

@ -205,7 +205,7 @@ while ( $event_row = dbFetchNext($results) ) {
<?php <?php
if ( count($storage_areas) > 1 ) { if ( count($storage_areas) > 1 ) {
?> ?>
<td class="colStorage"><?php echo $storage_areas[$event->StorageId()]->Name() ?></td> <td class="colStorage"><?php echo isset($storage_areas[$event->StorageId()]) ? $storage_areas[$event->StorageId()]->Name() : '' ?></td>
<?php <?php
} }