Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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 1 changed file with 2 additions and 1 deletion. Show diff stats Hide diff stats

  1. +2 1  repository/flickr_public/lib.php
3  repository/flickr_public/lib.php
@@ -207,13 +207,14 @@ public function logout() {
207 207
208 208 public function license4moodle ($license_id) {
209 209 $license = array(
  210 + '0' => 'allrightsreserved',
210 211 '1' => 'cc-nc-sa',
211 212 '2' => 'cc-nc',
212 213 '3' => 'cc-nc-nd',
213 214 '4' => 'cc',
214 215 '5' => 'cc-sa',
215 216 '6' => 'cc-nd',
216   - '7' => 'allrightsreserved'
  217 + '7' => 'other'
217 218 );
218 219 return $license[$license_id];
219 220 }

0 comments on commit 934de96

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