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.
Following E_STRICT Warnings appear on storm/invoices
Strict warning: Only variables should be passed by reference in theme_storminvoice_list() (line 118 of storm/storminvoice/storminvoice.theme.inc).
Strict warning: Only variables should be passed by reference in theme_storminvoice_list() (line 122 of storm/storminvoice/storminvoice.theme.inc).
Strict warning: Only variables should be passed by reference in theme_storminvoice_list() (line 126 of storm/storminvoice/storminvoice.theme.inc).
Strict warning: Only variables should be passed by reference in theme_storminvoice_list() (line 141 of storm/storminvoice/storminvoice.theme.inc).
Strict warning: Only variables should be passed by reference in theme_storminvoice_list() (line 145 of storm/storminvoice/storminvoice.theme.inc).
Strict warning: Only variables should be passed by reference in theme_storminvoice_list() (line 149 of storm/storminvoice/storminvoice.theme.inc).
Patch follows.
Comment | File | Size | Author |
---|---|---|---|
#1 | storm_invoice_e_strict-1463246-1.patch | 2.61 KB | kfritsche |
Comments
Comment #1
kfritscheHere the Patch.
Comment #2
juliangb CreditAttribution: juliangb commentedI'm a bit confused by why these weren't picked up by the testbots, as I thought that they were set to E_STRICT, and there is a test that requests this page.
That said, seems like a logical change, so from my read through it looks fine.
I haven't tested, but I'm guessing you have.
Comment #3
kfritscheI committed this to 6.x-2.x.
Setting this to 7.x-1.x as we should commit this there too.
Comment #4
juliangb CreditAttribution: juliangb commentedI've pushed this into D7.