summaryrefslogtreecommitdiff
path: root/modules/gallery/helpers/gallery_installer.php
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2010-02-15 13:12:38 -0800
committerAndy Staudacher <andy.st@gmail.com>2010-02-15 13:12:38 -0800
commitdcddc68f58dac2f0fe71f5a00ea4af32618efa13 (patch)
treefe6483ab50ebcb79b38be11f59bebf5050e9d105 /modules/gallery/helpers/gallery_installer.php
parent0b0c8cbb92efdb2c1ce5afe7202ac79e304cc6af (diff)
Never assign a SafeString instance to a Model member (or hell will break loose).
Diffstat (limited to 'modules/gallery/helpers/gallery_installer.php')
-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);