allow deleting of block when original code not present

This commit is contained in:
skodak
2006-09-03 17:46:27 +00:00
parent 460a7a6271
commit e9a207595c
4 changed files with 18 additions and 16 deletions
+1 -1
View File
@@ -2188,7 +2188,7 @@ function admin_externalpage_setup($section, $adminroot) {
page_map_class(PAGE_ADMIN, 'page_admin');
$PAGE = page_create_object(PAGE_ADMIN, 0); // there must be some id number
$PAGE = page_create_object(PAGE_ADMIN, 0); // there must be any constant id number
$PAGE->init_extra($section); // hack alert!