Wednesday, 28 July 2021
  3 Replies
  634 Visits
0
Votes
Undo
Between the calender and the legend there is a deprecated info:
Deprecated: Required parameter $modid follows optional parameter $params in \modules\mod_jevents_legend\tmpl\default\legend.php on line 31
3 years ago
·
#222678
0
Votes
Undo
I think you can just change that line so the optional parameter is after the $modid and it should be happy

mod_jevents_legend\tmpl\default\legend.php on line 31

function __construct($modid, &$params=null,)
3 years ago
·
#222686
0
Votes
Undo
That is not going to work as the call parameter order is set by the function creating the class. You can safely change it to:


function __construct(&$params, $modid)

i.e. remove the =null
3 years ago
·
#222692
0
Votes
Undo
geraint tonyp Submitted PR 522.
  • Page :
  • 1
There are no replies made for this post yet.

Members Area

Show your support

Unlike many Joomla calendars we do not charge to download JEvents - please show your support for this project by becoming a member of the JEvents Club Club members get access to early releases, exclusive member support forums, and Silver and Gold members can use many exciting JEvents addons

Your membership will ensure that JEvents continues to be the best events calendar for Joomla.