[horde] Horde 6 Framework
Brent
impuser at bitrealm.com
Wed Mar 12 15:47:09 UTC 2025
Quoting Andreas Mauser <andreas at mauser.info>:
> Am 12. März 2025 um 13:25 schrieb "Horst B Simon"
> <[horst.simon2 at icloud.com](mailto:horst.simon2 at icloud.com?to=%22Horst%20B%20Simon%22%20%3Chorst.simon2%40icloud.com%3E)\>:
>
>> Quoting Brent <impuser at bitrealm.com>:
>>
>> Quoting Horst B Simon <horst.simon2 at icloud.com>:
>
> .....
>> For the birthday/anniversary date thing, I fixed that myself. Here's
>> what I did:
>>
>> In file:
>> /var/www/horde/vendor/horde/core/lib/Horde/Core/Ui/VarRenderer/Html.php
>>
>> This is a hack. I don't know where "start\_year" is supposed to come
>> from. On my system, it was "NULL". So, I hardcoded it to include
>> dates from 1900.
>>
>> Line 529:
>> Removed the $var->type->getProperty('start\_year') value with a
>> hard-coded: 1900 (year)
>>
>> OLD: for ($i = $var->type->getProperty('start\_year'); $i
>> <= $var->type->getProperty('end\_year'); $i++) { \*/
>> NEW: for ($i = 1900; $i <=
>> $var->type->getProperty('end\_year'); $i++) {
>
> This seems to be cut off and I cannot find the original. Can someone
> please send the string again?
>
> Thank you,
> Andreas
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/To unsubscribe,
> mail: horde-unsubscribe at lists.horde.org
It's not cut off, it just got split into two lines...all the text is there.
OLD: for ($i = $var->type->getProperty('start_year'); $i <=
$var->type->getProperty('end_year'); $i++) { */
NEW:for ($i = 1900; $i <= $var->type->getProperty('end_year'); $i++) {
More information about the horde
mailing list