MDL-32117 equella: owner field in JSON maps back to author

This commit is contained in:
nread 2012-06-05 13:45:25 +10:00
parent 826b34836a
commit e3e4ca5ae9

View file

@ -46,8 +46,8 @@ if (isset($info->thumbnail)) {
} }
$author = ''; $author = '';
if (isset($info->author)) { if (isset($info->owner)) {
$author = s(clean_param($info->author, PARAM_NOTAGS)); $author = s(clean_param($info->owner, PARAM_NOTAGS));
} }
$license = ''; $license = '';