diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-11-03 14:03:36 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-11-03 14:03:36 -0800 |
commit | 96cbfe23a6031fc8fb87aadb37fec2e4e479bc0c (patch) | |
tree | a1240420ee3dfb265fb631ac2b5a0397b4f100c7 /modules/gallery/helpers/gallery_event.php | |
parent | f9b700e75c682df3c48efb0e69f893c61f06d3bd (diff) |
Respect the "theme" variable if we're an admin. This requires us to
change the order of operations in gallery_event::gallery_ready() so
that we load users before themes. Fixes ticket #836.
Diffstat (limited to 'modules/gallery/helpers/gallery_event.php')
-rw-r--r-- | modules/gallery/helpers/gallery_event.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/gallery_event.php b/modules/gallery/helpers/gallery_event.php index 67a6f41f..e3cb6a9b 100644 --- a/modules/gallery/helpers/gallery_event.php +++ b/modules/gallery/helpers/gallery_event.php @@ -23,8 +23,8 @@ class gallery_event_Core { * Initialization. */ static function gallery_ready() { - theme::load_themes(); identity::load_user(); + theme::load_themes(); locales::set_request_locale(); } |