fixed a minor bug in subversionmodel

This commit is contained in:
hyung-hwan 2010-06-30 08:20:23 +00:00
parent ed15ad09ab
commit 5e8c9698d0
5 changed files with 16 additions and 12 deletions

View File

@ -87,6 +87,9 @@ class SubversionModel extends Model
$fileinfo['type'] = 'dir';
$fileinfo['size'] = 0;
$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['content'] = $list;
$fileinfo['logmsg'] = (count($log) > 0)? $log[0]['msg']: '';

View File

@ -78,7 +78,9 @@ $this->load->view (
),
'ctxmenuitems' => array (
array ("project/create", $this->lang->line('New'), 'project_catalog_new')
array ("project/create",
$this->lang->line('New'),
'project_catalog_new')
)
)
);

View File

@ -67,6 +67,5 @@ foreach ($sites as $site)
</div> <!-- site_catalog_content -->
</body>
</html>