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));
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dustin.schultz’s picture

dustin.schultz’s picture

This time with --no-prefix --relative

dustin.schultz’s picture

No --relative

dustin.schultz’s picture

Using double parenthesis as a cleaner approach. Tested, resolves warning.

cfuller12’s picture

Assigned: Unassigned » cfuller12
Status: Active » Fixed

Fixed both issues - thanks for catching this

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.