fixed a minor bug in subversionmodel
This commit is contained in:
parent
ed15ad09ab
commit
5e8c9698d0
@ -87,6 +87,9 @@ class SubversionModel extends Model
|
|||||||
$fileinfo['type'] = 'dir';
|
$fileinfo['type'] = 'dir';
|
||||||
$fileinfo['size'] = 0;
|
$fileinfo['size'] = 0;
|
||||||
$fileinfo['created_rev'] = $info[0]['revision'];
|
$fileinfo['created_rev'] = $info[0]['revision'];
|
||||||
|
if (array_key_exists ('last_changed_author', $info[0]) === FALSE)
|
||||||
|
$fileinfo['last_author'] = '';
|
||||||
|
else
|
||||||
$fileinfo['last_author'] = $info[0]['last_changed_author'];
|
$fileinfo['last_author'] = $info[0]['last_changed_author'];
|
||||||
$fileinfo['content'] = $list;
|
$fileinfo['content'] = $list;
|
||||||
$fileinfo['logmsg'] = (count($log) > 0)? $log[0]['msg']: '';
|
$fileinfo['logmsg'] = (count($log) > 0)? $log[0]['msg']: '';
|
||||||
|
@ -78,7 +78,9 @@ $this->load->view (
|
|||||||
),
|
),
|
||||||
|
|
||||||
'ctxmenuitems' => array (
|
'ctxmenuitems' => array (
|
||||||
array ("project/create", $this->lang->line('New'), 'project_catalog_new')
|
array ("project/create",
|
||||||
|
$this->lang->line('New'),
|
||||||
|
'project_catalog_new')
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
@ -67,6 +67,5 @@ foreach ($sites as $site)
|
|||||||
|
|
||||||
</div> <!-- site_catalog_content -->
|
</div> <!-- site_catalog_content -->
|
||||||
|
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user