[Tickets #10654] Re: Can't autosubmit to a ticket from Horde

bugs at horde.org bugs at horde.org
Fri Jun 1 11:42:12 UTC 2012


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/10654
------------------------------------------------------------------------------
  Ticket             | 10654
  Updated By         | simon at simonandkate.net
  Summary            | Can't autosubmit to a ticket from Horde
  Queue              | Whups
  Version            | 2.0-RC1
  Type               | Bug
  State              | No Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


simon at simonandkate.net (2012-06-01 11:42) wrote:

OK, for some reason the Fatal error is not occurring any more, so I am  
now running lib/Form/TicketCreateStepThree.php with this section  
removed:

          /* Comment permissions. */
          $groups = $GLOBALS['injector']->getInstance('Horde_Group');
          $mygroups = $groups->listGroups($GLOBALS['registry']->getAuth());
          if ($mygroups) {
              foreach (array_keys($mygroups) as $gid) {
                  $grouplist[$gid] = $groups->getName($gid, true);
              }
              asort($grouplist);
              $grouplist = array(0 => _("This comment is visible to
everyone")) + $grouplist;
              $this->addVariable(
                  _("Make this comment visible only to members of a
group?"), 'group',
                  'enum', false, false, null, array($grouplist));
          }


And it seems to be working OK, but I am sure that will have broken  
something else somewhere else!





More information about the bugs mailing list