Add a couple of comments to make Selena stop nagging.
authorMagnus Hagander <[email protected]>
Sat, 21 Nov 2009 04:14:46 +0000 (04:14 +0000)
committerMagnus Hagander <[email protected]>
Sat, 21 Nov 2009 04:14:46 +0000 (04:14 +0000)
git-svn-id: file:///Users/dpage/pgweb/svn-repo/trunk@2586 8f5c7a92-453e-0410-a47f-ad33c8a6b003

portal/system/page/featurematrix.php

index 92788feed45a94bc6119141ec191e764d2281916..d4a1c800e8a2d13c40710e0e91882b1a221fd993 100644 (file)
@@ -168,6 +168,9 @@ class Page_FeatureMatrix extends PgPage {
        // Walk through the results and see if we need to change anything
        while ($row = pg_fetch_row($rs)) {
            for ($j=5; $j < count($row); $j++) {
+                          // Skip past the first 5 columns, which are fixed fields, and look only at the fields that have
+                          // actual feature values.
+                          // $row[2] is the id value for the feature.
                $new = $this->ValidateState($_POST['fs_' . $row[2] . '_' . $this->versionmap[$j-5]]);
                $old = $row[$j];
                if ($new != $old) {