1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 03:10:50 +02:00

Fix for news params in news shortcodes.

This commit is contained in:
Cameron
2016-04-28 18:13:41 -07:00
parent b9ef70678a
commit c40c909293
2 changed files with 10 additions and 5 deletions

View File

@@ -1357,9 +1357,9 @@ class e_shortcode
/**
* e_shortcode constructor.
*/
public function __construct()
public function __construct($eVars = null)
{
$this->scVars = new e_vars();
$this->scVars = !empty($eVars) ? $eVars : new e_vars();
}
/**