Merge branch 'MDL-42579_m26_2' of git://github.com/sbourget/moodle
This commit is contained in:
@@ -86,14 +86,10 @@
|
||||
|
||||
foreach ($recs as $rec) {
|
||||
$item = new stdClass();
|
||||
$user = new stdClass();
|
||||
$item->title = $rec->entryconcept;
|
||||
|
||||
if ($glossary->rsstype == 1) {//With author
|
||||
$user->firstname = $rec->userfirstname;
|
||||
$user->lastname = $rec->userlastname;
|
||||
|
||||
$item->author = fullname($user);
|
||||
$item->author = fullname($rec);
|
||||
}
|
||||
|
||||
$item->pubdate = $rec->entrytimecreated;
|
||||
@@ -149,6 +145,7 @@
|
||||
}
|
||||
|
||||
if ($glossary->rsstype == 1) {//With author
|
||||
$allnamefields = get_all_user_name_fields(true,'u');
|
||||
$sql = "SELECT e.id AS entryid,
|
||||
e.concept AS entryconcept,
|
||||
e.definition AS entrydefinition,
|
||||
@@ -156,8 +153,7 @@
|
||||
e.definitiontrust AS entrytrust,
|
||||
e.timecreated AS entrytimecreated,
|
||||
u.id AS userid,
|
||||
u.firstname AS userfirstname,
|
||||
u.lastname AS userlastname
|
||||
$allnamefields
|
||||
FROM {glossary_entries} e,
|
||||
{user} u
|
||||
WHERE e.glossaryid = {$glossary->id} AND
|
||||
|
||||
Reference in New Issue
Block a user