HOR-3851
This commit is contained in:
@@ -312,8 +312,11 @@ class Content extends BaseContent
|
||||
*
|
||||
* @param array $langs
|
||||
*/
|
||||
public function regenerateContent ($langs, $workSpace = SYS_SYS)
|
||||
public function regenerateContent ($langs, $workSpace = null)
|
||||
{
|
||||
if ($workSpace === null) {
|
||||
$workSpace = config("sys_sys");
|
||||
}
|
||||
//Search the language
|
||||
$key = array_search( 'en', $langs );
|
||||
if ($key === false) {
|
||||
|
||||
Reference in New Issue
Block a user