Project

General

Profile

« Previous | Next » 

Revision fcb61f94

Added by gizmotronic over 5 years ago

Make hostname optional for for DNS-O-Matic.
This resolves ticket #7601.

(cherry picked from commit 1ccc327f0014d74de501a066df556add28c38e78)

View differences:

src/usr/local/www/services_dyndns_edit.php
84 84
	$reqdfieldsn = array(gettext("Service type"));
85 85

  
86 86
	if ($pconfig['type'] != "custom" && $pconfig['type'] != "custom-v6") {
87
		$reqdfields[] = "host";
88
		$reqdfieldsn[] = gettext("Hostname");
87
		if ($pconfig['type'] != "dnsomatic") {
88
			$reqdfields[] = "host";
89
			$reqdfieldsn[] = gettext("Hostname");
90
		}
89 91
		$reqdfields[] = "passwordfld";
90 92
		$reqdfieldsn[] = gettext("Password");
91 93
		$reqdfields[] = "username";

Also available in: Unified diff