[imp] save_sent_mail

Jan Schneider jan@horde.org
Tue, 22 Jan 2002 17:04:28 +0100


Zitat von Jon Starling <jons@uk.uu.net>:

> On Tue, 22 Jan 2002, Jon Starling wrote:
> 
> > Started by switching the compose to not be a popup window and then did
> a
> > show source:
> >
> > --SNIP--
> > <input type="checkbox" name="save_sent_mail"1 />
> > --SNIP
> >
> > Looks as if there is an error in compose.inc
> >
> > --SNIP--
> > <input type="checkbox" name="save_sent_mail"<?= $ssm_check ?> />
> > --SNIP--
> >
> > I am a newbie to PHP but I presume there should be some kind of if
> > statement to produce the checked="checked" XHTL Attribute instead of
> just
> > outputting the value of $ssm_check i.e. "1"???
> 
> Changed
> 
> <?= $ssm_check ?> />
> 
> to
> 
> <?php if ($ssm_check): ?> checked="checked"<?php endif; ?>
> 
> and all seems to work now!

You're absolutely right. I missed to merge the change in compose.inc when I 
updated the compose.php file.

Thanks for debugging this!

Jan.

--
::::::::::::::::::::::::::::::::::::::::
AMMMa AG - discover your knowledge
:::::::::::::::::::::::::::
Detmolder Str. 25-33 :: D-33604 Bielefeld
fon +49.521.96878-0 :: fax  +49.521.96878-20
http://www.ammma.de
::::::::::::::::::::::::::::::::::::::::::::::