Skip to content
Browse files

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

…ense
  • Loading branch information...
1 parent 9815783 commit 668ba1e92213afd2430b439d7c82c18bb7e391c4 @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
@@ -213,13 +213,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 668ba1e

Please sign in to comment.
Something went wrong with that request. Please try again.