1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-04 13:47:31 +02:00

Update forum_shortcodes.php

This commit is contained in:
rica-carv
2016-12-13 13:48:13 +00:00
committed by GitHub
parent 7f3367df58
commit 2296cf33e9

View File

@@ -418,13 +418,13 @@ class forum_shortcodes extends e_shortcode
function sc_lastpostuser()
{
return $this->sc_lastpost('username');
return $this->sc_lastpost(['type'=>'username']);
}
function sc_lastpostdate()
{
return $this->sc_lastpost('datelink');
return $this->sc_lastpost(['type'=>'datelink']);
}