Răsfoiți Sursa

! 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 ani în urmă
părinte
comite
007d7ae561
2 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  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(