quick fix: $err was not global in the function
This commit is contained in:
parent
9bd6db4d1f
commit
623b838125
|
@ -7,7 +7,7 @@ include_once("head.php");
|
||||||
# Take the values of the subdomain in arguments
|
# Take the values of the subdomain in arguments
|
||||||
|
|
||||||
function sub_domains_edit($domain, $sub=false,$type=false,$value=false) {
|
function sub_domains_edit($domain, $sub=false,$type=false,$value=false) {
|
||||||
global $admin, $oldid, $isedit;
|
global $admin, $err, $oldid, $isedit;
|
||||||
|
|
||||||
$dom=new m_dom();
|
$dom=new m_dom();
|
||||||
$dom->lock();
|
$dom->lock();
|
||||||
|
|
Loading…
Reference in New Issue