summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-02-18 16:32:25 -0800
committerBharat Mediratta <bharat@menalto.com>2010-02-18 16:33:17 -0800
commit0d72daf3d2d831ca3588ebabe720029bab3ccb8f (patch)
tree23c9419217c25dc284c4fb11c4cf82d7cada54aa
parent7d98d4b7b9d16f32ed98c8eeb051be4149468dc6 (diff)
Restore the gallery_installer change from reverted dcddc68f58dac2f0fe71f5a00ea4af32618efa13
that casts $powered_by_string from SafeString to string.
-rw-r--r--modules/gallery/helpers/gallery_installer.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/gallery/helpers/gallery_installer.php b/modules/gallery/helpers/gallery_installer.php
index 45d991af..b594ddcf 100644
--- a/modules/gallery/helpers/gallery_installer.php
+++ b/modules/gallery/helpers/gallery_installer.php
@@ -287,7 +287,7 @@ class gallery_installer {
// Mark string for translation
$powered_by_string = t("Powered by <a href=\"%url\">%gallery_version</a>",
array("locale" => "root"));
- module::set_var("gallery", "credits", $powered_by_string);
+ module::set_var("gallery", "credits", (string) $powered_by_string);
module::set_var("gallery", "simultaneous_upload_limit", 5);
module::set_var("gallery", "admin_area_timeout", 90 * 60);
module::set_version("gallery", 29);