Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
6.x-1.19 causes this error at every visit to print page:
Missing argument 2 for variable_get(), called in sites/all/modules/print/print.pages.inc on line 187
in fact, it needs 2nd argument.
Comment | File | Size | Author |
---|---|---|---|
#1 | print-fix-missing-argument-2235565-1.patch | 723 bytes | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedHereby a patch with the default NULL argument added to the variable_get() function.
Comment #2
jrockowitz CreditAttribution: jrockowitz commentedThe issue and patch are pretty straight forward. I have replicated the issue, tested the patch, and it looks good.
Comment #3
webservant316 CreditAttribution: webservant316 commentedis this committed to dev?
Comment #4
jelo CreditAttribution: jelo commentedRan into the same issue, applied the patch and error is gone as expected.
Can this be committed please?
Comment #5
johnrosswvsu CreditAttribution: johnrosswvsu commentedI can verify the issue. Patch fixes it.
Comment #6
jackalope CreditAttribution: jackalope commentedThat patch worked well for me as well. I hope it gets committed soon. Thanks demarcoz!
Comment #7
yan CreditAttribution: yan commentedPatch works for me, too. I think it's RTBC.
Comment #8
jcnventura CreditAttribution: jcnventura at Wunder commentedClosing all issues related to the Drupal 6 version of the print module.