Switch to new access levels system
[fa-stable.git] / purchasing / supplier_credit.php
index bd2fb08ae0ae717a2640f051bfa20b8660a21f59..102184b03b48fd3364f2f9414dafd5a8ca374f6e 100644 (file)
@@ -9,12 +9,11 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
-$path_to_root="..";
+$page_security = 'SA_SUPPLIERCREDIT';
+$path_to_root = "..";
 
 include_once($path_to_root . "/purchasing/includes/supp_trans_class.inc");
 
-$page_security=5;
-
 include_once($path_to_root . "/includes/session.inc");
 
 include_once($path_to_root . "/includes/data_checks.inc");