diff options
author | Bharat Mediratta <bharat@menalto.com> | 2010-01-31 16:07:41 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2010-01-31 16:07:41 -0800 |
commit | c050acf30a7351bf0ef5b8ee206704c073e881c7 (patch) | |
tree | 93db400f07fe706aa30dc19a59da8580f42f3af0 /modules/gallery/libraries/Form_Script.php | |
parent | c6676dd455d070aaded25f048269eee07248100a (diff) |
Fix lots of warnings that pop up when we're in E_STRICT mode. They're
mostly issues around uninitialized variables, calling non-static
functions in a static context, calling Session functions directly
instead of on its singleton, passing non-variables by reference, and
subclasses not using the same interface as the parent class.
Diffstat (limited to 'modules/gallery/libraries/Form_Script.php')
-rw-r--r-- | modules/gallery/libraries/Form_Script.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/gallery/libraries/Form_Script.php b/modules/gallery/libraries/Form_Script.php index e841408d..1f965767 100644 --- a/modules/gallery/libraries/Form_Script.php +++ b/modules/gallery/libraries/Form_Script.php @@ -50,7 +50,7 @@ class Form_Script_Core extends Forge { return $this; } - public function render() { + public function render($template="forge_template", $custom=false) { $script = array(); if (!empty($this->data["url"])) { $script[] = html::script($this->data["url"]); @@ -63,4 +63,4 @@ class Form_Script_Core extends Forge { return implode("\n", $script); } -} // End Form Script
\ No newline at end of file +}
\ No newline at end of file |