-
Type:
Incident report
-
Resolution: Fixed
-
Priority:
Major
-
Affects Version/s: 2.1.6
-
Component/s: API (A), Frontend (F)
Administration->scripts
Select scripts from script list, then "Delete sselected" and go
Undefined index: scriptid [scripts.php:159 ? CAPIObject->delete() ? CAPIObject->__call() ? czbxrpc::call() ? czbxrpc::callAPI() ? call_user_func() ? CScript->delete() ? CScript->validateDelete() in C:\xampp\htdocs\trunk\frontends\php\api\classes\CScript.php:541]
Undefined index: [scripts.php:159 ? CAPIObject->delete() ? CAPIObject->__call() ? czbxrpc::call() ? czbxrpc::callAPI() ? call_user_func() ? CScript->delete() ? CScript->validateDelete() in C:\xampp\htdocs\trunk\frontends\php\api\classes\CScript.php:541]
Cannot delete scripts. Script "" is used in action operation "asdasdasdasdasd". [scripts.php:159 ? CAPIObject->delete() ? CAPIObject->__call() ? czbxrpc::call() ? czbxrpc::callAPI() ? call_user_func() ? CScript->delete() ? CScript->validateDelete() ? CZBXAPI::exception() in C:\xampp\htdocs\trunk\frontends\php\api\classes\CScript.php:541]