Added helper function for setting page_security for multiusage pages.
[fa-stable.git] / sales / customer_payments.php
index afc30fa0a1cd66bc4511d490b16b62a6778e3c2b..6148985705658fa0f456b5c54b9d4279ff1d89ad 100644 (file)
@@ -143,7 +143,11 @@ function can_process()
        }
 
        $_SESSION['alloc']->amount = input_num('amount');
-       return check_allocations();
+
+       if (isset($_POST["TotalNumberOfAllocs"]))
+               return check_allocations();
+       else
+               return true;
 }
 
 //----------------------------------------------------------------------------------------------