| 19 | diff --git a/trac/ticket/templates/query.html b/trac/ticket/templates/query.html |
| 20 | index c82840179..afa60d2dc 100644 |
| 21 | --- a/trac/ticket/templates/query.html |
| 22 | +++ b/trac/ticket/templates/query.html |
| 23 | @@ -335,7 +335,9 @@ |
| 24 | </form> |
| 25 | |
| 26 | # include 'query_results.html' |
| 27 | - # include 'batch_modify.html' if tickets and batch_modify ignore missing |
| 28 | + # if tickets: |
| 29 | + # include 'batch_modify.html' ignore missing |
| 30 | + # endif |
| 31 | |
| 32 | <div id="trac-report-buttons" class="buttons"> |
| 33 | # set edit = report_resource and 'REPORT_MODIFY' in perm(report_resource) |