You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vcl.apache.org by jf...@apache.org on 2014/09/12 21:23:41 UTC

svn commit: r1624621 - /vcl/trunk/web/.ht-inc/serverprofiles.php

Author: jfthomps
Date: Fri Sep 12 19:23:41 2014
New Revision: 1624621

URL: http://svn.apache.org/r1624621
Log:
serverprofiles.php: modified processProfileInput: changed conditional for validating dns to check for fixedIP != 'NULL' since it is now being set to 'NULL' further above if it == ''

Modified:
    vcl/trunk/web/.ht-inc/serverprofiles.php

Modified: vcl/trunk/web/.ht-inc/serverprofiles.php
URL: http://svn.apache.org/viewvc/vcl/trunk/web/.ht-inc/serverprofiles.php?rev=1624621&r1=1624620&r2=1624621&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/serverprofiles.php (original)
+++ vcl/trunk/web/.ht-inc/serverprofiles.php Fri Sep 12 19:23:41 2014
@@ -729,7 +729,7 @@ function processProfileInput() {
 		$err['error'] = 1;
 		return $err;
 	}
-	if($ret['fixedIP'] != '') {
+	if($ret['fixedIP'] != 'NULL') {
 		$tmp = explode(',', $ret['dns']);
 		$cnt = 0;
 		foreach($tmp as $dnsaddr) {