[commits] [Wiki] changed: Doc/Dev/H6/Developer/KnownIssues

Wiki Guest wikiguest at horde.org
Sat Oct 28 18:47:40 UTC 2023


guest [216.160.116.139]  Sat, 28 Oct 2023 18:47:40 +0000

Modified page: https://wiki.horde.org/Doc/Dev/H6/Developer/KnownIssues
New Revision:  11
Change log:  Added issue with date dropdown list

@@ -43,8 +43,21 @@
  <code>
  require_once dirname(__FILE__, 3) . '/autoload.php';
  </code>

++++ can't edit/change events since 'start_year' doesn't go back far enough:
+
+**Proposed solution from Brent <impuser at bitrealm.com>**
+
+<horde-dir>/vendor/horde/core/lib/Horde/Core/Ui/VarRenderer/Html.php
+
+Hardcode start year to 1900 (hack, not sure where start_year is being  
determined.
+
+Line 529:
+<code>
+-  for ($i = $var->type->getProperty('start_year'); $i <=  
$var->type->getProperty('end_year'); $i++) {
++  for ($i = 1900; $i <= $var->type->getProperty('end_year'); $i++) {
+</code>

  ++ turba

  +++ Non-static method Horde_Form::getType() cannot be called statically



More information about the commits mailing list