[Plugin: User Access Manager] tweak for function addUserColumn
-
Hi,
Your function breaks display of other custom columns : their data values are empty. It’s because you don’t return the value ($empty) if columnName is not uam_access.I suggest you a little patch :
public function addUserColumn($empty, $columnName, $id) { if ($columnName == 'uam_access') { return $this->getIncludeContents( UAM_REALPATH.'tpl/userColumn.php', $id, 'user' ); }else{ return $empty; } }This should solve the problem.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘[Plugin: User Access Manager] tweak for function addUserColumn’ is closed to new replies.