1
0
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:
Cameron
2013-01-15 23:19:34 -08:00
parent b33a298067
commit 1d6905ea5d
4 changed files with 4 additions and 1 deletions

View File

@@ -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;