Download | Plain Text | No Line Numbers


  1. --- html.orig/reseller/kunden_domains_update.php 2008-07-24 16:57:14.000000000 +0200
  2. +++ html/reseller/kunden_domains_update.php 2011-04-29 12:50:49.000000000 +0200
  3. @@ -341,13 +341,18 @@
  4. $stip = $werte["standardip"];
  5. }
  6.  
  7. - $id = safe_query2( "SELECT ip FROM kunden WHERE kunde=? AND server_id='$ServerID'", $goKunde );
  8. - list($ip) = db_fetch_array($id);
  9. + // thomas borgans, check also if customer has own httpdspezial
  10. + $id = safe_query2( "SELECT ip,httpdspezial FROM kunden WHERE kunde=? AND server_id='$ServerID'", $goKunde );
  11. + list($ip, $ownHttpdspezial) = db_fetch_array($id);
  12. db_free_query( $id );
  13.  
  14. if(!$ip){
  15. $ip = $stip;
  16. }
  17. +
  18. + if(!empty($ownHttpdspezial))
  19. + $httpdspezial = $ownHttpdspezial;
  20. +
  21. /**
  22. * Check if reseller can add the new domain
  23. */
  24.