Closed (won't fix)
Project:
SimpleAds
Version:
7.x-1.8
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
15 Jun 2012 at 09:31 UTC
Updated:
9 Jun 2023 at 16:40 UTC
Jump to comment: Most recent
On stats page I get error message:
Strict warning: Only variables should be passed by reference in _simpleads_stat_tab() (line 14 of /.../html/sites/all/modules/simpleads/simpleads.stat.inc).
Suggest to replace
$form_after_stats = drupal_render(drupal_get_form('_simpleads_after_stats_form'));
with following construct:
$form = drupal_get_form('_simpleads_after_stats_form');
$form_after_stats = drupal_render($form);
Ragnar
Comments
Comment #1
minnur commentedThanks for this, I think this was already fixed in the dev version
Comment #2
joshuautley commentedI can confirm this works.
Comment #3
minnur commented