Skip to content

Commit

Permalink
Fix crash reporter download button display when there are only PHP er…
Browse files Browse the repository at this point in the history
…rors, no textdumps.

(cherry picked from commit 3db214d)
  • Loading branch information
jim-p committed May 30, 2018
1 parent cee46a8 commit 15f5dea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usr/local/www/crash_reporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ function cleanup_file_list($files) {
</button>
<br/><br/>

<?php if (count($crash_files) > 0): ?>
<?php if ((count($crash_files) > 0) || (count($php_errors) > 0)): ?>
Click a button below to download an individual debugging data file:
<br/><br/>
<?php if (count($php_errors) > 0): ?>
Expand Down

0 comments on commit 15f5dea

Please sign in to comment.