From: Petr Skoda <skodak@moodle.org>
Date: Wed, 30 Dec 2009 15:32:58 +0000 (+0000)
Subject: MDL-20204 sheet name first, thanks Urs
X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e07a7081bcb98adb8a0561962f82610866cd7a31;p=moodle.git

MDL-20204 sheet name first, thanks Urs
---

diff --git a/lib/outputlib.php b/lib/outputlib.php
index 21782c6cb0..65792f291c 100644
--- a/lib/outputlib.php
+++ b/lib/outputlib.php
@@ -625,7 +625,7 @@ class theme_config {
                 }
             }
             foreach ($css['theme'] as $sheet=>$unused) {
-                $urls[] = new moodle_url($url, array('theme'=>$this->name,'type'=>'theme', 'sheet'=>$sheet));
+                $urls[] = new moodle_url($url, array('sheet'=>$sheet, 'theme'=>$this->name, 'type'=>'theme')); // sheet first in order to make long urls easier to read
             }
             return $urls;
         }