Fixed no plugins showing up in sidebar create block page
authorDan Fuhry <dan@enanocms.org>
Tue, 03 Aug 2010 22:10:07 -0400
changeset 1288 bf59bcc79baf
parent 1287 2c95a2c538c8
child 1289 541bb25d0b22
Fixed no plugins showing up in sidebar create block page
plugins/SpecialAdmin.php
--- a/plugins/SpecialAdmin.php	Tue Aug 03 22:09:34 2010 -0400
+++ b/plugins/SpecialAdmin.php	Tue Aug 03 22:10:07 2010 -0400
@@ -2377,6 +2377,10 @@
 		switch($_GET['action'])
 		{
 			case 'new':
+				
+				// template needs to be initialized for this
+				$template->init_vars();
+				
 				?>
 				
 				<?php acp_start_form(); ?>