diff --git a/codepot/src/codepot/models/subversionmodel.php b/codepot/src/codepot/models/subversionmodel.php index 85ae976c..76ee71b8 100644 --- a/codepot/src/codepot/models/subversionmodel.php +++ b/codepot/src/codepot/models/subversionmodel.php @@ -87,7 +87,10 @@ class SubversionModel extends Model $fileinfo['type'] = 'dir'; $fileinfo['size'] = 0; $fileinfo['created_rev'] = $info[0]['revision']; - $fileinfo['last_author'] = $info[0]['last_changed_author']; + 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']: ''; return $fileinfo; diff --git a/codepot/src/codepot/views/project_catalog.php b/codepot/src/codepot/views/project_catalog.php index 83d13464..a6e65f7d 100644 --- a/codepot/src/codepot/views/project_catalog.php +++ b/codepot/src/codepot/views/project_catalog.php @@ -11,7 +11,7 @@