CMS MADE SIMPLE FORGE

LISE

 

[#12475] Can't get item_id when using event handler

avatar
Created By: Franck DELAUNAY (forprogress)
Date Submitted: Wed Sep 15 07:00:15 -0400 2021

Assigned To: Fernando Morgado (JoMorg)
Version: 1.4.2
CMSMS Version: 2.1.5
Severity: Minor
Resolution: None
State: Open
Summary:
Can't get item_id when using event handler
Detailed Description:
$obj = $params['item_object'];
$fd = $obj->fielddefs['myfield'];
$fd = $fd->item_id;

return's nothing

When
$obj = $params['item_object'];
$fd = $obj->fielddefs['myfield'];
$fd = $fd->alias;
or
$fd = $fd->name;
works well.


History