quick fix: $err was not global in the function

This commit is contained in:
François Serman 2012-08-25 21:28:13 +00:00
parent 9bd6db4d1f
commit 623b838125
1 changed files with 1 additions and 1 deletions

View File

@ -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();