Closed (fixed)
Project:
CMIS API
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
8 Apr 2011 at 13:54 UTC
Updated:
24 Apr 2011 at 09:01 UTC
Jump to comment: Most recent file
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 commentedComment #2
dustin.schultz commentedThis time with --no-prefix --relative
Comment #3
dustin.schultz commentedNo --relative
Comment #4
dustin.schultz commentedUsing double parenthesis as a cleaner approach. Tested, resolves warning.
Comment #5
cfuller12 commentedFixed both issues - thanks for catching this