The functions:
-validate_operation()
-check_permission_for_action_conditions()
-validate_condition()
are defined in the file "include/actions.inc.php" but this isn't included in the right place.
To fix just add in the second row of "api/classes/class.caction.php" this row:
require_once('include/actions.inc.php');
Example:
<?php
require_once('include/actions.inc.php');
/*
** ZABBIX
** Copyright (C) 2000-2010 SIA Zabbix
**
I'm not sure this is the best place for this include but here just works!!
Pasqu
-validate_operation()
-check_permission_for_action_conditions()
-validate_condition()
are defined in the file "include/actions.inc.php" but this isn't included in the right place.
To fix just add in the second row of "api/classes/class.caction.php" this row:
require_once('include/actions.inc.php');
Example:
<?php
require_once('include/actions.inc.php');
/*
** ZABBIX
** Copyright (C) 2000-2010 SIA Zabbix
**
I'm not sure this is the best place for this include but here just works!!
Pasqu

Comment