Download | Plain Text | No Line Numbers
- --- html.orig/reseller/kunden_domains_update.php 2008-07-24 16:57:14.000000000 +0200
- +++ html/reseller/kunden_domains_update.php 2011-04-29 12:50:49.000000000 +0200
- @@ -341,13 +341,18 @@
- $stip = $werte["standardip"];
- }
-
- - $id = safe_query2( "SELECT ip FROM kunden WHERE kunde=? AND server_id='$ServerID'", $goKunde );
- - list($ip) = db_fetch_array($id);
- + // thomas borgans, check also if customer has own httpdspezial
- + $id = safe_query2( "SELECT ip,httpdspezial FROM kunden WHERE kunde=? AND server_id='$ServerID'", $goKunde );
- + list($ip, $ownHttpdspezial) = db_fetch_array($id);
- db_free_query( $id );
-
- if(!$ip){
- $ip = $stip;
- }
- +
- + if(!empty($ownHttpdspezial))
- + $httpdspezial = $ownHttpdspezial;
- +
- /**
- * Check if reseller can add the new domain
- */
-