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:
parent
fcd1a997a8
commit
ff22d49212
|
@ -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"];
|
||||||
|
|
Loading…
Reference in New Issue