Просмотр исходного кода

! 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 лет назад
Родитель
Сommit
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(