fix width=0px causing empty looking montage

This commit is contained in:
Isaac Connor 2021-10-06 10:35:52 -04:00
parent 7905f11be6
commit d622ae9251
1 changed files with 1 additions and 1 deletions

View File

@ -231,7 +231,7 @@ foreach ( $monitors as $monitor ) {
> >
<?php <?php
$monitor_options = $options; $monitor_options = $options;
$monitor_options['width'] = $monitor_options['width'].'px'; $monitor_options['width'] = $monitor_options['width']?$monitor_options['width'].'px' : null;
$monitor_options['height'] = $monitor_options['height']?$monitor_options['height'].'px' : null; $monitor_options['height'] = $monitor_options['height']?$monitor_options['height'].'px' : null;
$monitor_options['connkey'] = $monitor->connKey(); $monitor_options['connkey'] = $monitor->connKey();