diff --git a/codepot/src/codepot/controllers/project.php b/codepot/src/codepot/controllers/project.php index fd94d7bf..b8d59fb1 100644 --- a/codepot/src/codepot/controllers/project.php +++ b/codepot/src/codepot/controllers/project.php @@ -470,7 +470,7 @@ class Project extends Controller } } - function catalog_json ($filter = '', $offset = '') + function enjson_catalog ($filter = '', $offset = '') { $this->load->model ('ProjectModel', 'projects'); @@ -557,7 +557,7 @@ class Project extends Controller print codepot_json_encode ($result); } - function quickfind_json ($needle = '') + function enjson_quickfind ($needle = '') { // this function is to serve the intermediate search // by the quick project finder in the task bar. diff --git a/codepot/src/codepot/models/subversionmodel.php b/codepot/src/codepot/models/subversionmodel.php index aaae6ade..c211b82d 100644 --- a/codepot/src/codepot/models/subversionmodel.php +++ b/codepot/src/codepot/models/subversionmodel.php @@ -288,7 +288,11 @@ class SubversionModel extends Model $fileinfo['created_rev'] = $info[0]['last_changed_rev']; else $fileinfo['created_rev'] = $info[0]['revision']; - $fileinfo['last_author'] = $info[0]['last_changed_author']; + + if (array_key_exists('last_changed_author', $info[0])) + $fileinfo['last_author'] = $info[0]['last_changed_author']; + else + $fileinfo['last_author'] = ''; $actual_rev = $fileinfo['created_rev']; } diff --git a/codepot/src/codepot/views/code_blame.php b/codepot/src/codepot/views/code_blame.php index 31de5e1f..7570507f 100644 --- a/codepot/src/codepot/views/code_blame.php +++ b/codepot/src/codepot/views/code_blame.php @@ -341,15 +341,16 @@ if (array_key_exists('properties', $file) && count($file['properties']) > 0) - +
+ + + load->view ('footer'); ?> - -