Loading...
 
Features / Usability

Features / Usability


Re: User Reports not inserting proper User

posts: 42

Update:

Inside the file
~/lib/core/Reports/Send/EmailBuilder/WikiPageChanged.php
the output table is populated properly using the code:

$output = tr(
"%0 edited the wikipage %1 (this history, all history)",
"{$change'data''editUser'}",
"{$change'data''pageName'}",
"\"{$base_url}tiki-pagehistory.php?page={$change'data''pageName'}&diff_style=sidediff&compare=Compare&newver=$newVersion&oldver={$change'data''oldVer'}\"",
"\"{$base_url}tiki-pagehistory.php?page={$change'data''pageName'}&diff_style=sidediff&compare=Compare&newver=0&oldver={$change'data''oldVer'}\""
);

BUT inside the other email building files such as
~/lib/core/Reports/Send/EmailBuilder/StructureAdd.php
the out put table looks like:

$output = tr(
"%0 added %1 wiki page to a structure",
"{$change'user'}", //added editUser
"{$change'data''name'}"
);

and is not populating the table with the proper user inside the '%0' variable. What is the difference here?

There are no comments at this time.