mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-32117 equella: owner field in JSON maps back to author
This commit is contained in:
parent
826b34836a
commit
e3e4ca5ae9
1 changed files with 2 additions and 2 deletions
|
@ -46,8 +46,8 @@ if (isset($info->thumbnail)) {
|
|||
}
|
||||
|
||||
$author = '';
|
||||
if (isset($info->author)) {
|
||||
$author = s(clean_param($info->author, PARAM_NOTAGS));
|
||||
if (isset($info->owner)) {
|
||||
$author = s(clean_param($info->owner, PARAM_NOTAGS));
|
||||
}
|
||||
|
||||
$license = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue