summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/module.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2011-04-23 13:04:23 -0700
committerBharat Mediratta <bharat@menalto.com>2011-04-23 13:04:48 -0700
commitc1df782a75193d4ee33ec1d0be10739f9320705f (patch)
tree1811dbfb84f645d67931e5741268bdd5fb7de8b2 /modules/gallery/helpers/module.php
parent1da0551b3c7067da43334ba2afeaad5aca6e364e (diff)
Use an absolute url for the upgrader link. Also, clear the upgrade_now
site status message every time we go to Admin > Modules. Fixes #1695.
Diffstat (limited to 'modules/gallery/helpers/module.php')
-rw-r--r--modules/gallery/helpers/module.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/module.php b/modules/gallery/helpers/module.php
index 37f7f68a..4b7d4a5f 100644
--- a/modules/gallery/helpers/module.php
+++ b/modules/gallery/helpers/module.php
@@ -101,7 +101,7 @@ class module_Core {
$m->locked = false;
if ($m->active && $m->version != $m->code_version) {
- site_status::warning(t("Some of your modules are out of date. <a href=\"%upgrader_url\">Upgrade now!</a>", array("upgrader_url" => url::site("upgrader"))), "upgrade_now");
+ site_status::warning(t("Some of your modules are out of date. <a href=\"%upgrader_url\">Upgrade now!</a>", array("upgrader_url" => url::abs_site("upgrader"))), "upgrade_now");
}
}