Optional additional security roles inscludable from modules/extensions.
[fa-stable.git] / manufacturing / inquiry / where_used_inquiry.php
index c792330bf314b21ed775a5f475ea20692506cd1b..4ad2ebc7eb578f06d77484c4af74fbd6ccd4972a 100644 (file)
@@ -9,8 +9,8 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
-$page_security = 2;
-$path_to_root="../..";
+$page_security = 'SA_WORKORDERANALYTIC';
+$path_to_root = "../..";
 include($path_to_root . "/includes/db_pager.inc");
 include($path_to_root . "/includes/session.inc");
 
@@ -61,9 +61,6 @@ $sql = "SELECT
 
 $table =& new_db_pager('usage_table', $sql, $cols);
 
-if (get_post('_stock_id_update'))
-       $table->set_sql($sql);
-
 $table->width = "80%";
 display_db_pager($table);