From e3e4ca5ae9bc986710945f6173c6601037895261 Mon Sep 17 00:00:00 2001 From: nread Date: Tue, 5 Jun 2012 13:45:25 +1000 Subject: [PATCH] MDL-32117 equella: owner field in JSON maps back to author --- repository/equella/callback.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/repository/equella/callback.php b/repository/equella/callback.php index 79ca425421d..c4926d81b20 100644 --- a/repository/equella/callback.php +++ b/repository/equella/callback.php @@ -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 = '';