Permalink
Browse files

MDL-35101 Repository: Public Flickr fails when the picture has no lic…

…ense
  • Loading branch information...
1 parent 8f3c8e7 commit 934de9687e666762447fe1d69cb7a89196761cef @FMCorz FMCorz committed Aug 28, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 repository/flickr_public/lib.php
View
3 repository/flickr_public/lib.php
@@ -207,13 +207,14 @@ public function logout() {
public function license4moodle ($license_id) {
$license = array(
+ '0' => 'allrightsreserved',
'1' => 'cc-nc-sa',
'2' => 'cc-nc',
'3' => 'cc-nc-nd',
'4' => 'cc',
'5' => 'cc-sa',
'6' => 'cc-nd',
- '7' => 'allrightsreserved'
+ '7' => 'other'
);
return $license[$license_id];
}

0 comments on commit 934de96

Please sign in to comment.