Permalink
Browse files

MINOR Passing rendered form to renderWith() call, underlying logic ch…

…anged (see #7136)
  • Loading branch information...
1 parent 6e872c3 commit 0f8a6999a13a0f303447c9fd002a4d14e2569dfd @chillu chillu committed Apr 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 admin/code/SecurityAdmin.php
@@ -141,7 +141,7 @@ public function memberimport() {
Requirements::javascript(SAPPHIRE_ADMIN_DIR . '/javascript/MemberImportForm.js');
return $this->renderWith('BlankPage', array(
- 'Form' => $this->MemberImportForm(),
+ 'Form' => $this->MemberImportForm()->forTemplate(),
'Content' => ' '
));
}
@@ -173,7 +173,7 @@ public function groupimport() {
return $this->renderWith('BlankPage', array(
'Content' => ' ',
- 'Form' => $this->GroupImportForm()
+ 'Form' => $this->GroupImportForm()->forTemplate()
));
}

0 comments on commit 0f8a699

Please sign in to comment.