mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Fix domain registrar/webhost update not working
- Quote the expiry field when updating a domain - Better handle no web host being set
This commit is contained in:
@@ -75,9 +75,9 @@ $num_rows = mysqli_fetch_row(mysqli_query($mysqli, "SELECT FOUND_ROWS()"));
|
||||
|
||||
$sql_domain_webhost = mysqli_query($mysqli, "SELECT vendor_name FROM vendors WHERE vendor_id = $domain_webhost");
|
||||
$row = mysqli_fetch_array($sql_domain_webhost);
|
||||
$domain_webhost_name = nullable_htmlentities($row['vendor_name']);
|
||||
if (empty($domain_webhost_name)) {
|
||||
$domain_webhost_name = "-";
|
||||
$domain_webhost_name = "-";
|
||||
if ($row) {
|
||||
$domain_webhost_name = nullable_htmlentities($row['vendor_name']);
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user