Index: trunk/ippMonitor/def/autocode.php
===================================================================
--- trunk/ippMonitor/def/autocode.php	(revision 21137)
+++ trunk/ippMonitor/def/autocode.php	(revision 26456)
@@ -23,6 +23,14 @@
 echo "<form action=\"$FILE\" method=\"POST\">\n";
 
+$restricted = 0;
+
 // define restrictiosn to the queries
 // ** TABLE RESTRICTIONS **
+
+if ($restricted == 0) {
+  if ("$UNRESTRICTED" != "none") {
+    $WHERE = "$WHERE $UNRESTRICTED";
+  }
+}
 
 // get the result table count
