Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…ense
  • Loading branch information...
commit 934de9687e666762447fe1d69cb7a89196761cef 1 parent 8f3c8e7
Frédéric Massart FMCorz authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  repository/flickr_public/lib.php
3  repository/flickr_public/lib.php
View
@@ -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];
}
Please sign in to comment.
Something went wrong with that request. Please try again.