MDL-29960 repository/dropbox - Fix obvious incorrect url
authorDan Poltawski <dan.poltawski@luns.net.uk>
Fri, 25 Nov 2011 09:51:33 +0000 (09:51 +0000)
committerDan Poltawski <dan.poltawski@luns.net.uk>
Fri, 25 Nov 2011 10:13:29 +0000 (10:13 +0000)
repository/dropbox/lib.php

index 934aed2..e639d59 100644 (file)
@@ -96,7 +96,7 @@ class repository_dropbox extends repository {
             $ret['login'] = array($popup_btn);
             return $ret;
         } else {
-            echo '<a target="_blank" href="'.$this->flickr->auth().'">'.get_string('login', 'repository').'</a>';
+            echo '<a target="_blank" href="'.$url.'">'.get_string('login', 'repository').'</a>';
         }
     }