summaryrefslogtreecommitdiff
path: root/modules/organize/helpers
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2010-08-30 22:06:26 -0700
committerTim Almdal <tnalmdal@shaw.ca>2010-08-30 22:06:26 -0700
commit866f8eefc66f24f9fcfb9f20bdc0add3a654db76 (patch)
tree11f39ff6251b1c90cc3f03a37fd9ec67243db991 /modules/organize/helpers
parent0f2daf29acc051e7fe79abc625406684e9da8196 (diff)
parentd5ebcb91ad8401df8a393f84ade82150467dbf33 (diff)
Fix for ticket #1320. Hook the loading of the initial albums and check to see if the loaded item is the requested item.
Diffstat (limited to 'modules/organize/helpers')
-rw-r--r--modules/organize/helpers/organize_event.php3
-rw-r--r--modules/organize/helpers/organize_installer.php3
2 files changed, 2 insertions, 4 deletions
diff --git a/modules/organize/helpers/organize_event.php b/modules/organize/helpers/organize_event.php
index 1593d30e..2f997600 100644
--- a/modules/organize/helpers/organize_event.php
+++ b/modules/organize/helpers/organize_event.php
@@ -61,8 +61,7 @@ class organize_event_Core {
static function module_change($changes) {
if (!module::is_active("rest") || in_array("rest", $changes->deactivate)) {
site_status::warning(
- t("The Organize module requires the Rest module. " .
- "<a href=\"%url\">Activate the Rest module now</a>",
+ t("The Organize module requires the Rest module. <a href=\"%url\">Activate the Rest module now</a>",
array("url" => html::mark_clean(url::site("admin/modules")))),
"organize_needs_rest");
} else {
diff --git a/modules/organize/helpers/organize_installer.php b/modules/organize/helpers/organize_installer.php
index 12d8147f..2faa598b 100644
--- a/modules/organize/helpers/organize_installer.php
+++ b/modules/organize/helpers/organize_installer.php
@@ -30,8 +30,7 @@ class organize_installer {
if ($version == 1) {
if (!module::is_active("rest")) {
site_status::warning(
- t("The Organize module requires the Rest module. " .
- "<a href=\"%url\">Activate the Rest module now</a>",
+ t("The Organize module requires the Rest module. <a href=\"%url\">Activate the Rest module now</a>",
array("url" => html::mark_clean(url::site("admin/modules")))),
"organize_needs_rest");
}