Jonah Bug (or horde bug??)

Ben Davis <[email protected]> Fri, 23 Jan 2004 14:52:54 -0600
Newsgroups gmane.comp.horde.jonah
Message-ID <[email protected]>
When you configure jonah to only allow internal channels, it won't let 
you add a new channel because it won't pass form validation. the 
required select field "Type" has only one option "internal," which has a 
value of "0",  which I'm guessing translates to false which is why the 
form validation does not pass. 

This can be quick-fixed in jonah/lib/Jonah.php by changing the definitions:

define('JONAH_INTERNAL_CHANNEL', 0);
define('JONAH_EXTERNAL_CHANNEL', 1);

to

define('JONAH_INTERNAL_CHANNEL', 1);
define('JONAH_EXTERNAL_CHANNEL', 2);

However, I'm not sure if this is the best way to fix the problem,  
because this might be a bug in the horde framework as well, I just 
wasn't brave enough to venture that deep.
-- 
Jonah mailing list - Join the hunt: http://horde.org/bounties/#jonah
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]