mirror of
https://github.com/e107inc/e107.git
synced 2025-08-07 23:26:41 +02:00
PHP8 Compatibility and code cleanup.
This commit is contained in:
@@ -384,8 +384,13 @@ class html_import extends base_import_class
|
||||
}
|
||||
|
||||
|
||||
function process($type='description',$source)
|
||||
function process($type, $source)
|
||||
{
|
||||
if(empty($type))
|
||||
{
|
||||
$type = 'description';
|
||||
}
|
||||
|
||||
switch ($type)
|
||||
{
|
||||
case 'category':
|
||||
|
Reference in New Issue
Block a user