Fix bug with b2header and redefinition of get_helplink
git-svn-id: https://develop.svn.wordpress.org/trunk@301 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
989355327a
commit
6e668e1fce
|
@ -43,8 +43,8 @@ if ($option_group_id == '') {
|
||||||
switch($action) {
|
switch($action) {
|
||||||
|
|
||||||
case "update":
|
case "update":
|
||||||
$standalone = 1;
|
$standalone = 0;
|
||||||
include("./b2header.php");
|
include_once("./b2header.php");
|
||||||
$any_changed = 0;
|
$any_changed = 0;
|
||||||
|
|
||||||
// iterate through the list of options in this group
|
// iterate through the list of options in this group
|
||||||
|
@ -100,7 +100,7 @@ case "update":
|
||||||
|
|
||||||
default:
|
default:
|
||||||
$standalone = 0;
|
$standalone = 0;
|
||||||
include ("./b2header.php");
|
include_once("./b2header.php");
|
||||||
if ($user_level <= 3) {
|
if ($user_level <= 3) {
|
||||||
die("You have no right to edit the options for this blog.<br>Ask for a promotion to your <a href=\"mailto:$admin_email\">blog admin</a> :)");
|
die("You have no right to edit the options for this blog.<br>Ask for a promotion to your <a href=\"mailto:$admin_email\">blog admin</a> :)");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue