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:
@@ -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();
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user