Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
AddModule Bug
When writing module found a bug in adding modules.
For example, consider the DiscussionsController and the method Index.
When you add the module with
Because of this the result of the withdrawal will vary depending on where in the Index method you would call
I change line to
For example, consider the DiscussionsController and the method Index.
When you add the module with
$this->AddModule( 'ModuleName')module will render immediately, because there is line
$this->AddAsset ($ AssetTarget, $ Module->ToString (), $ Module->Name ());in class Gdn_Controller method AddModule.
Because of this the result of the withdrawal will vary depending on where in the Index method you would call
$this->AddModule( 'ModuleName')especially if you are in a module using an array $Data.
I change line to
$this->AddAsset ($ AssetTarget, $ Module, $ Module->Name ());*without ToString();
0
Comments
http://github.com/lussumo/Garden/issues
I can help you, just say what should I do.