| @@ 558-566 (lines=9) @@ | ||
| 555 | ||
| 556 | if (is_array($this->_errors) && !empty($this->_errors)) { |
|
| 557 | $this->pageAlert(__('There were some problems while attempting to save. Please check below for problem fields.'), Alert::ERROR); |
|
| 558 | } else { |
|
| 559 | $this->pageAlert( |
|
| 560 | __('Unknown errors occurred while attempting to save.') |
|
| 561 | . '<a href="' . SYMPHONY_URL . '/system/log/">' |
|
| 562 | . __('Check your activity log') |
|
| 563 | . '</a>.', |
|
| 564 | Alert::ERROR |
|
| 565 | ); |
|
| 566 | } |
|
| 567 | } |
|
| 568 | } |
|
| 569 | ||
| @@ 693-701 (lines=9) @@ | ||
| 690 | redirect(SYMPHONY_URL . '/system/authors/edit/' . $author_id . '/saved/'); |
|
| 691 | ||
| 692 | // Problems. |
|
| 693 | } else { |
|
| 694 | $this->pageAlert( |
|
| 695 | __('Unknown errors occurred while attempting to save.') |
|
| 696 | . '<a href="' . SYMPHONY_URL . '/system/log/">' |
|
| 697 | . __('Check your activity log') |
|
| 698 | . '</a>.', |
|
| 699 | Alert::ERROR |
|
| 700 | ); |
|
| 701 | } |
|
| 702 | } |
|
| 703 | ||
| 704 | // Author doesn't have valid data, throw back. |
|