[Tickets #13568] Unable to set maxmium number of forward recipients

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Sep 15 12:18:48 UTC 2014


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: https://bugs.horde.org/ticket/13568
------------------------------------------------------------------------------
  Ticket           | 13568
  Erstellt Von     | lukas.weiss at raiffeisen.it
  Zusammenfassung  | Unable to set maxmium number of forward recipients
  Warteschlange    | Ingo
  Version          | 3.2.1
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 1. Low
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


lukas.weiss at raiffeisen.it (2014-09-15 12:18) hat geschrieben:

hi,

if i set the maxmium number of forward recipients in the app
permissions, the setting is ignored. this is becaue the app permissions
are returned as an array, but they are then used as an integer:

$max =
$GLOBALS['injector']->getInstance('Horde_Core_Perms')->hasAppPermission(Ingo_Perms::getPerm('max_forward'));

// array (size=1)
//   0 => string '15' (length=2)

..

if ($addr_count > $max) {
..

also, it would be great, if the exception this function throws, would  
be catched and returned as a notification.

thank you!





More information about the bugs mailing list