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.
Strict warning: Only variables should be passed by reference in cmis_query_view() (line 75 of /sites/all/modules/contrib/cmis/cmis_query/cmis_query.module).
This
$contents = drupal_render(drupal_get_form('cmis_query_form', NULL));
needs to be changed to this
$contents = drupal_render($tmp = drupal_get_form('cmis_query_form', NULL));
Comment | File | Size | Author |
---|---|---|---|
#4 | cmis_query_view-strict-warning-1120964.patch | 567 bytes | dustin.schultz |
#3 | cmis_query_view-strict-warning-1120964.patch | 572 bytes | dustin.schultz |
#2 | cmis_query_view-strict-warning-1120964.patch | 528 bytes | dustin.schultz |
#1 | cmis_query_view-strict-warning-1120964.patch | 580 bytes | dustin.schultz |
Comments
Comment #1
dustin.schultz CreditAttribution: dustin.schultz commentedComment #2
dustin.schultz CreditAttribution: dustin.schultz commentedThis time with --no-prefix --relative
Comment #3
dustin.schultz CreditAttribution: dustin.schultz commentedNo --relative
Comment #4
dustin.schultz CreditAttribution: dustin.schultz commentedUsing double parenthesis as a cleaner approach. Tested, resolves warning.
Comment #5
cfuller12 CreditAttribution: cfuller12 commentedFixed both issues - thanks for catching this