Skip to content
Snippets Groups Projects
Commit 7294d395 authored by Jared Hancock's avatar Jared Hancock
Browse files

Don't show in-use warning for new canned replies

parent 6c9438fc
Branches
Tags
No related merge requests found
......@@ -107,7 +107,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
</tr>
</tbody>
</table>
<?php if ($canned->getFilters()) { ?>
<?php if ($canned && $canned->getFilters()) { ?>
<br/>
<div id="msg_warning">Canned reply is in use by email filter(s): <?php
echo implode(', ', $canned->getFilters()); ?></div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment