mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-22 12:29:11 -04:00
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.
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user