Changeset 34014 for trunk/ippMonitor/def/autocode.php
- Timestamp:
- Jun 14, 2012, 11:31:25 AM (14 years ago)
- File:
-
- 1 edited
-
trunk/ippMonitor/def/autocode.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ippMonitor/def/autocode.php
r34012 r34014 29 29 30 30 // Note: the restriction is now moved AFTER the count query 31 // unless the RESTRICT_COUNT keyword is used 32 if ($restricted == 0) { 33 if ("$RESTRICT_COUNT" != "none") { 34 $WHERE = "$WHERE $RESTRICT_COUNT"; 35 } 36 } 31 37 32 38 // Add GROUP BY statements if any … … 55 61 // Restrict the query if it is necessary 56 62 if ($restricted == 0) { 57 if ( "$UNRESTRICTED" != "none") {63 if ( ("$UNRESTRICTED" != "none") && ("$RESTRICT_COUNT" == "none") ) { 58 64 $WHERE = "$WHERE $UNRESTRICTED"; 59 65 }
Note:
See TracChangeset
for help on using the changeset viewer.
