diff -r ebe99e82a59a -r 473cc747022a plugins/SpecialAdmin.php
--- a/plugins/SpecialAdmin.php Sat Oct 20 21:44:13 2007 -0400
+++ b/plugins/SpecialAdmin.php Fri Oct 26 19:28:54 2007 -0400
@@ -4,7 +4,7 @@
Plugin URI: http://enanocms.org/
Description: Provides the page Special:Administration, which is the AJAX frontend to the various Admin pagelets. This plugin cannot be disabled.
Author: Dan Fuhry
-Version: 1.0.1
+Version: 1.0.2
Author URI: http://enanocms.org/
*/
@@ -3224,7 +3224,10 @@
$c = ($template->fetch_block($row['block_content'])) ? $template->fetch_block($row['block_content']) : 'Can\'t find plugin block';
break;
}
- $t = $template->tplWikiFormat($row['block_name']);
+ $block_name = $template->tplWikiFormat($row['block_name']);
+ if ( empty($block_name) )
+ $block_name = '<Unnamed>';
+ $t = '' . $block_name . '';
if($row['item_enabled'] == 0) $t .= ' (disabled)';
else $t .= ' (disabled)';
$side = ( $row['sidebar_id'] == SIDEBAR_LEFT ) ? SIDEBAR_RIGHT : SIDEBAR_LEFT;