Bläddra i källkod

! 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 år sedan
förälder
incheckning
007d7ae561
2 ändrade filer med 2 tillägg och 1 borttagningar
  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(