Author: jfthomps
Date: Tue Mar 14 20:18:52 2017
New Revision: 1786948

URL: http://svn.apache.org/viewvc?rev=1786948&view=rev
Log:
VCL-915 - Add ability for Linux images to mount NFS shares

siteconfig.php: modified GlobalMultiVariable::existingValuesHTML: added check 
at beginning of foreach loop for $this->units[$key] being set and continuing to 
next iteration of loop if not

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

Modified: vcl/trunk/web/.ht-inc/siteconfig.php
URL: 
http://svn.apache.org/viewvc/vcl/trunk/web/.ht-inc/siteconfig.php?rev=1786948&r1=1786947&r2=1786948&view=diff
==============================================================================
--- vcl/trunk/web/.ht-inc/siteconfig.php (original)
+++ vcl/trunk/web/.ht-inc/siteconfig.php Tue Mar 14 20:18:52 2017
@@ -1983,6 +1983,8 @@ class GlobalMultiVariable {
        function existingValuesHTML() {
                $h = "<span id=\"{$this->domidbase}multivalspan\">\n";
                foreach($this->values as $key => $val) {
+                       if(! isset($this->units[$key]))
+                               continue;
                        $this->savekeys[] = "{$this->domidbase}|$key";
                        $this->setkeys[] = $key;
                        $h .= "<span 
id=\"{$this->domidbase}|{$key}wrapspan\">\n";


Reply via email to