small change to cms_mapi_audit()
Posted: Wed Dec 15, 2004 3:51 am
my module was not writing to the adminlog properly, in lib/module.functions.php I changed the cms_mapi_audit() function from:
to
and now things work for me as I expected.
hop it helps,
snorki
Code: Select all
function cms_mapi_audit($cms, $itemid, $itemname, $action) {
$userid = get_userid();
$username = $_SESSION["cms_admin_username"];
audit($userid, $username, $itemid, $itemname, $action);
}
Code: Select all
function cms_mapi_audit($cms, $itemid, $itemname, $action) {
audit($itemid, $itemname, $action);
}
hop it helps,
snorki