diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2010-09-06 22:13:41 -0700 | 
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2010-09-06 22:13:41 -0700 | 
| commit | fa1fe47b6a0a377929a70748406eae589ecf2a00 (patch) | |
| tree | 95010c8549bf96ba0e3ff22903082eb550a298e2 /modules/gallery | |
| parent | 2f810ec12624eefa3eb47ad7174dbbe03936135d (diff) | |
Use the absolute site url when logging out of the admin site else we
wind up with weird url doubling effects.  Fixes ticket #1342.
Diffstat (limited to 'modules/gallery')
| -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 ec7d1882..0ba98025 100644 --- a/modules/gallery/helpers/gallery_event.php +++ b/modules/gallery/helpers/gallery_event.php @@ -210,7 +210,7 @@ class gallery_event_Core {                        ->label($user->display_name()));          if (Router::$controller == "admin") { -          $continue_url = url::site(""); +          $continue_url = url::abs_site("");          } else if (isset($theme->item)) {            if (access::user_can(identity::guest(), "view", $theme->item)) {              $continue_url = $theme->item->abs_url(); | 
