]> git.mjollnir.org Git - moodle.git/commitdiff
admin-roles MDL-19787 Fixed regression in recent upgrades of link_to_popup_window
authorsamhemelryk <samhemelryk>
Thu, 1 Oct 2009 02:39:37 +0000 (02:39 +0000)
committersamhemelryk <samhemelryk>
Thu, 1 Oct 2009 02:39:37 +0000 (02:39 +0000)
admin/roles/lib.php

index 5264bd552dc88e373aae9af7f5ecbf10dddcbf1d..acbb45d6603f8cc413dff114eb2fc4f7fee32e9f 100644 (file)
@@ -423,7 +423,7 @@ abstract class capability_table_with_risks extends capability_table_base {
         if (!isset($this->riskicons[$type])) {
             $iconurl = $OUTPUT->old_icon_url('i/' . str_replace('risk', 'risk_', $type));
             
-            $link = html_link::make($this->risksurl, 'docspopup', '<img src="' . $iconurl . '" alt="' . get_string($type . 'short', 'admin') . '" />');
+            $link = html_link::make($this->risksurl, '<img src="' . $iconurl . '" alt="' . get_string($type . 'short', 'admin') . '" />');
             $link->add_action(new popup_action('click', $link->url, 'docspopup'));
             $link->title = get_string($type, 'admin');