Skip to content

Commit

Permalink
comments
Browse files Browse the repository at this point in the history
  • Loading branch information
scottkf committed May 24, 2011
1 parent 101f555 commit bbe4462
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions content/content.index.php
Expand Up @@ -47,6 +47,7 @@ public function view() {
// this function takes care of all the entry adding
$this->__actionNew();

// we only get here if there's an error
$response['errors'] = $this->_errors;
$response['status'] = (count($this->_errors) ? 'error' : 'success');
$response['message'] = ($this->Alert instanceof Alert ? $this->Alert->__get('message') : '');
Expand Down

0 comments on commit bbe4462

Please sign in to comment.