mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 09:04:38 +02:00
Issue #75 Media-Manager Category SEF field added.
This commit is contained in:
@@ -1839,6 +1839,7 @@ class e107plugin
|
||||
$data['owner'] = $folder;
|
||||
$data['category'] = $folder."_".$type;
|
||||
$data['title'] = $v['@value'];
|
||||
$data['sef'] = vartrue($v['@attributes']['sef']);
|
||||
// $data['type'] = $v['@attributes']['type']; //TODO
|
||||
$data['class'] = 253;
|
||||
$status = e107::getMedia()->createCategory($data) ? E_MESSAGE_SUCCESS : E_MESSAGE_ERROR;
|
||||
|
Reference in New Issue
Block a user