[dev] Typo: imp/templates/mailbox/actions.inc
John Morrissey
jwm at horde.net
Fri Apr 18 19:03:06 PDT 2003
imp/templates/mailbox/actions.inc shouldn't check
isset($conf['spam']['reporting']), since it always contains a boolean value.
john
--
John Morrissey _o /\ ---- __o
jwm at horde.net _-< \_ / \ ---- < \,
www.horde.net/ __(_)/_(_)________/ \_______(_) /_(_)__
-------------- next part --------------
Index: imp/templates/mailbox/actions.inc
===================================================================
RCS file: /repository/imp/templates/mailbox/actions.inc,v
retrieving revision 2.54
diff -u -r2.54 actions.inc
--- imp/templates/mailbox/actions.inc 16 Apr 2003 22:56:45 -0000 2.54
+++ imp/templates/mailbox/actions.inc 18 Apr 2003 22:00:55 -0000
@@ -19,7 +19,7 @@
<?php endif; ?>
<?php endif; ?>
| <?php echo Horde::widget('', _("Forward"), 'widget', '', 'Submit(' . FWD_DIGEST . '); return false;', _("Forward")) ?>
-<?php if (isset($conf['spam']['reporting'])): ?>
+<?php if ($conf['spam']['reporting']): ?>
| <?php echo Horde::widget('', _("Report as Spam"), 'widget', '', 'Submit(' . SPAM_REPORT . '); return false;', _("Report as Spam")); ?>
<?php endif; ?>
</td>
More information about the dev
mailing list