Syntax typo.
[fa-stable.git] / reporting / rep409.php
index 016580c1eb7d6e88136dc3e7148d8261ff067ee5..7140ee23d084ed436d44e54fa0d28066de44ac45 100644 (file)
@@ -9,12 +9,13 @@
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  
     See the License here <http://www.gnu.org/licenses/gpl-3.0.html>.
 ***********************************************************************/
-$page_security = 2;
+$page_security = $_POST['PARAM_0'] == $_POST['PARAM_1'] ?
+       'SA_MANUFTRANSVIEW' : 'SA_MANUFBULKREP';
 // ----------------------------------------------------------------
 // $ Revision: 2.0 $
-// Creator:    Janusz Dobrwolski
+// Creator:    Janusz Dobrowolski
 // date_:      2008-01-14
-// Title:      Print Delivery Notes
+// Title:      Print Workorders
 // draft version!
 // ----------------------------------------------------------------
 $path_to_root="..";