<commit_before><?php

$accountplanid = $_GET["accountplanid"];

$type = $_GET["type"] == 'supplier';

if (!in_array($type, array('balance', 'result', 'customer', 'employee'))) {
    $type = 'supplier';    
}


?>
<html>
  <body> 
    <form id="form" name="accountplan_search" action="<? print $_lib['sess']->dispatch ?>t=accountplan.reskontro" method="post">
      <input type="hidden" name="accountplan_AccountPlanType" value="<?= $type ?>"    />
      <input type="hidden" name="accountplan_AccountPlanID" value="<?= $accountplanid ?>" />
      <input type="hidden" name="JournalID" value="" />
      <input type="hidden" name="action_accountplan_new" value="" />
      <input type="submit" value="Fortsett" name="submit" />
    </form>
  </body>
  <script>
    var f = document.getElementById('form');
//    f.submit();
  </script>
</html><commit_msg>fixed minor<commit_after><?php

$accountplanid = $_GET["accountplanid"];

$type = $_GET["type"];

if (!in_array($type, array('balance', 'result', 'customer', 'employee'))) {
    $type = 'supplier';    
}


?>
<html>
  <body> 
    <form id="form" name="accountplan_search" action="<? print $_lib['sess']->dispatch ?>t=accountplan.reskontro" method="post">
      <input type="hidden" name="accountplan_AccountPlanType" value="<?= $type ?>"    />
      <input type="hidden" name="accountplan_AccountPlanID" value="<?= $accountplanid ?>" />
      <input type="hidden" name="JournalID" value="" />
      <input type="hidden" name="action_accountplan_new" value="" />
      <input type="submit" value="Fortsett" name="submit" />
    </form>
  </body>
  <script>
    var f = document.getElementById('form');
//    f.submit();
  </script>
</html>
{'fraction_non_alphanumeric': 0.21513002364066194, 'fraction_numerical': 0.0, 'mean_word_length': 4.461290322580645, 'pattern_counts': {'":': 0, '<': 37, '<?xml version=': 0, '>': 39, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2261674', 'n_tokens_mistral': 560, 'n_tokens_neox': 557, 'n_words': 109}