Explorar el Código

! 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 hace 13 años
padre
commit
007d7ae561
Se han modificado 2 ficheros con 2 adiciones y 1 borrados
  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(