You need to sign in or sign up before continuing.
[FIX]Tiki user credits: Fixing undefined array key action_type
requested to merge bkinywa24/tiki:fix-Undefined-array-key-action_type-tiki-user_credits.php into master
"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