On Mon, Jan 31, 2011 at 02:21:24PM +0100, Pierre-Damien GATOUILLAT wrote:
> add a customer and a zone. When I add a host, I can't select the zone or
> AD Default Customer or AutoDiscovery policy because there is nothing in
> the list ! Datas in database are good. I think about a problem with php
> but can't figure about what exactly ?
It's something wierd PHP is doing that changed its behaviour.
Line 27 of lib/gui.controls.inc.php has:
//debug ($obj);
////debug ($obj_params);
$obj_data = call_user_func_array(array(&$obj,"get_all"),$obj_params);
Put the extra 2 lines in so it looks like:
//debug ($obj);
////debug ($obj_params);
if (!is_array($obj_params))
$obj_params = array();
$obj_data = call_user_func_array(array(&$obj,"get_all"),$obj_params);
That should fix it for all the select boxes.
- Craig
--
Craig Small VK2XLZ http://www.enc.com.au/ csmall at : enc.com.au
Debian GNU/Linux http://www.debian.org/ csmall at : debian.org
GPG fingerprint: 1C1B D893 1418 2AF4 45EE 95CB C76C E5AC 12CA DFA5
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires
February 28th, so secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
jffnms-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jffnms-users