ZBXNEXT-7951 21st sub issue.
Steps to reproduce:
- Open /templates.php;
- Press on "Import" button;
- Import any template export file, which contains information, that will either add or update existing template;
- Select all rules for import, including all checkboxes for "Delete missing";
- Press the "Import" button;
- Observe, that nothing was deleted, but warning about deleting all elements, that are not present is displayed.
Such warning message not to be displayed, when nothing is deleted.