[imp] Maintenance bug RC1 CVS: sent-mail-jan-1970
Jan Schneider
jan@horde.org
Fri, 16 Nov 2001 13:57:27 +0100
Zitat von Barry Flanagan <barryf-imp@digiserve.ie>:
>
> If a user have no last_login value in the database, when they initially
> log in, imp will offer to rename their existing sent-mail folder to
> 'sent-mail-jan-1970'
>
> The offending line is in rename_sentmail_monthly.php:
>
> function renameSentmailMonthlyName($folder)
> {
> global $prefs;
>
> return $folder .
> strtolower(strftime("-%b-%Y",$prefs->getValue('last_login')));
> }
>
>
>
> ...prehaps a check and if last_login doesn't exist offer to rename it to
> the preceding month? Sorry, my d
> ate function prowess is not sufficient to give you an elegant patch!
Fixed in cvs.
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
::::::::::::::::::::::::::::::::::::::::::::::