summaryrefslogtreecommitdiff
path: root/modules/gallery
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2010-02-18 16:20:23 -0800
committerBharat Mediratta <bharat@menalto.com>2010-02-18 16:20:23 -0800
commit99c131e845b5bbfa22b93fa783b5ce671bc27e40 (patch)
tree066f6e9ea1057d156b3b0aa89e2d099d04943538 /modules/gallery
parentd3e07f8a97627a500bad07ce0a68ac91a766ccd4 (diff)
Revert "Never assign a SafeString instance to a Model member (or hell will break loose)."
This reverts commit dcddc68f58dac2f0fe71f5a00ea4af32618efa13.
Diffstat (limited to 'modules/gallery')
-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 b594ddcf..45d991af 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", (string) $powered_by_string);
+ module::set_var("gallery", "credits", $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);