Commit 2bdbb238a890dd05d780250771f698cb8593484f
1 parent
463e704c
KTS-4270 KTTemplating usage corrected
Commited by: Jarrett Jordaan Reviewed by: Megan Watson
Showing
1 changed file
with
1 additions
and
1 deletions
plugins/ktcore/KTPermissions.php
| ... | ... | @@ -874,7 +874,7 @@ class KTDocumentRolesAction extends KTDocumentAction { |
| 874 | 874 | function do_main() { |
| 875 | 875 | $this->oPage->setTitle(_kt("View Roles")); |
| 876 | 876 | $this->oPage->setBreadcrumbDetails(_kt("View Roles")); |
| 877 | - $oTemplating = new KTTemplating; | |
| 877 | + $oTemplating =& KTTemplating::getSingleton(); | |
| 878 | 878 | $oTemplate = $oTemplating->loadTemplate("ktcore/action/view_roles"); |
| 879 | 879 | |
| 880 | 880 | // we need to have: | ... | ... |