Skip to content

[FIX]Tiki user credits: Fixing undefined array key action_type

"Undefined array key 'action_type'", To resolve this issue, We need to ensure that 'action_type' is properly set in the request before trying to access it. I quickly did by checking if it exists in the $_REQUEST array before using it like $req_type = isset($_REQUEST['action_type']) ? $_REQUEST['action_type'] : '';. Where to test: usercredits

Edited by Baraka Kinywa

Merge request reports