diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-12-18 14:25:35 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-12-18 14:26:15 -0800 |
commit | 86e0bc863a1c6739a9cd153931c099307e4c1000 (patch) | |
tree | 1cdd3239a1c266490263a4803a3e7f2847f601fc | |
parent | 02b3c4e70478519e3baa7df80fefd19ebdd6e2e3 (diff) |
Use url::base() instead of item::root()->url because we can't be sure
that will work (if your database is sitll at Beta 1, you don't have
the slug column, for example).
-rw-r--r-- | modules/gallery/views/upgrader.html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/views/upgrader.html.php b/modules/gallery/views/upgrader.html.php index 5cd1cd77..6cf0068d 100644 --- a/modules/gallery/views/upgrader.html.php +++ b/modules/gallery/views/upgrader.html.php @@ -26,7 +26,7 @@ <h1> <?= t("That's it!") ?> </h1> <p> <?= t("Your <a href=\"%url\">Gallery</a> is up to date.", - array("url" => html::mark_clean(item::root()->url()))) ?> + array("url" => html::mark_clean(url::base()))) ?> </p> </div> </div> |