소스 검색

! Typo fix
! fix for not passing an href with the form token, not sure either is needed, but you must have one with the other to avoid undefined errors

Spuds 13 년 전
부모
커밋
007d7ae561
2개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      Sources/Admin.php
  2. 1 0
      Sources/ManageSearchEngines.php

+ 1 - 1
Sources/Admin.php

@@ -480,7 +480,7 @@ function AdminMain()
 	$context['admin_menu_id'] = $context['max_menu_id'];
 	$context['admin_menu_name'] = 'menu_data_' . $context['admin_menu_id'];
 
-	// Why on the admin are we?
+	// Where in the admin are we?
 	$context['admin_area'] = $admin_include_data['current_area'];
 
 	// Now - finally - call the right place!

+ 1 - 0
Sources/ManageSearchEngines.php

@@ -746,6 +746,7 @@ function SpiderLogs()
 		),
 		'form' => array(
 			'token' => 'admin-sl',
+			'href' => $scripturl . '?action=admin;area=sengines;sa=logs',
 		),
 		'additional_rows' => array(
 			array(