| @@ 606-614 (lines=9) @@ | ||
| 603 | ||
| 604 | if (is_array($this->_errors) && !empty($this->_errors)) { |
|
| 605 | $this->pageAlert(__('There were some problems while attempting to save. Please check below for problem fields.'), Alert::ERROR); |
|
| 606 | } else { |
|
| 607 | $this->pageAlert( |
|
| 608 | __('Unknown errors occurred while attempting to save.') |
|
| 609 | . '<a href="' . SYMPHONY_URL . '/system/log/">' |
|
| 610 | . __('Check your activity log') |
|
| 611 | . '</a>.', |
|
| 612 | Alert::ERROR |
|
| 613 | ); |
|
| 614 | } |
|
| 615 | } |
|
| 616 | } |
|
| 617 | ||
| @@ 738-746 (lines=9) @@ | ||
| 735 | redirect(SYMPHONY_URL . '/system/authors/edit/' . $author_id . '/saved/'); |
|
| 736 | ||
| 737 | // Problems. |
|
| 738 | } else { |
|
| 739 | $this->pageAlert( |
|
| 740 | __('Unknown errors occurred while attempting to save.') |
|
| 741 | . '<a href="' . SYMPHONY_URL . '/system/log/">' |
|
| 742 | . __('Check your activity log') |
|
| 743 | . '</a>.', |
|
| 744 | Alert::ERROR |
|
| 745 | ); |
|
| 746 | } |
|
| 747 | } |
|
| 748 | ||
| 749 | // Author doesn't have valid data, throw back. |
|