Fixed bug when register globals is off.

http://wordpress.org/support/6/584


git-svn-id: http://svn.automattic.com/wordpress/trunk@418 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
mikelittle 2003-10-07 00:22:30 +00:00
parent fcd1a997a8
commit ff22d49212
1 changed files with 1 additions and 0 deletions

View File

@ -217,6 +217,7 @@ switch ($action) {
if ($user_level < get_settings('links_minadminlevel')) if ($user_level < get_settings('links_minadminlevel'))
die ("Cheatin' uh ?"); die ("Cheatin' uh ?");
$submit=$HTTP_POST_VARS["submit"];
if (isset($submit) && ($submit == "Save")) { if (isset($submit) && ($submit == "Save")) {
$cat_id=$HTTP_POST_VARS["cat_id"]; $cat_id=$HTTP_POST_VARS["cat_id"];