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
No related branches found
No related tags found
No related merge requests found
...@@ -107,7 +107,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info); ...@@ -107,7 +107,7 @@ $info=Format::htmlchars(($errors && $_POST)?$_POST:$info);
</tr> </tr>
</tbody> </tbody>
</table> </table>
<?php if ($canned->getFilters()) { ?> <?php if ($canned && $canned->getFilters()) { ?>
<br/> <br/>
<div id="msg_warning">Canned reply is in use by email filter(s): <?php <div id="msg_warning">Canned reply is in use by email filter(s): <?php
echo implode(', ', $canned->getFilters()); ?></div> 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