[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

1.3 asking attention for commit 5887



I have committed some changes to Form.pm  5887

situation:

going to ap.pl?action=add&module=ap.pl
  aa.pl add  will call create_links

  update  with ambiguous vendor-name that leads to new screen with
list of vendors , choose vendor, then continue

  variables reread from post
     <input type=hidden name=nextsub value=name_selected>
     <input type="hidden" name="AP_links" value="HASH(0x40436b0)" />

   aa.pl update with $display=1 calls  create_links
     but e.g.  AP_links no longer hash-ref but string
    so:    error Can't use string ("HASH(0x40436b0)") as a HASH ref
while "strict refs" in use at LedgerSMB/Form.pm

question:
my solution is to init variables explicitly

is this ok?

Herman