| @@ 648-656 (lines=9) @@ | ||
| 645 | if (is_array($this->_errors) && !empty($this->_errors)) { |
|
| 646 | $this->pageAlert(__('There were some problems while attempting to save. Please check below for problem fields.'), |
|
| 647 | Alert::ERROR); |
|
| 648 | } else { |
|
| 649 | $this->pageAlert( |
|
| 650 | __('Unknown errors occurred while attempting to save.') |
|
| 651 | . '<a href="' . SYMPHONY_URL . '/system/log/">' |
|
| 652 | . __('Check your activity log') |
|
| 653 | . '</a>.', |
|
| 654 | Alert::ERROR |
|
| 655 | ); |
|
| 656 | } |
|
| 657 | } |
|
| 658 | } |
|
| 659 | ||
| @@ 789-797 (lines=9) @@ | ||
| 786 | redirect(SYMPHONY_URL . '/system/authors/edit/' . $author_id . '/saved/'); |
|
| 787 | ||
| 788 | // Problems. |
|
| 789 | } else { |
|
| 790 | $this->pageAlert( |
|
| 791 | __('Unknown errors occurred while attempting to save.') |
|
| 792 | . '<a href="' . SYMPHONY_URL . '/system/log/">' |
|
| 793 | . __('Check your activity log') |
|
| 794 | . '</a>.', |
|
| 795 | Alert::ERROR |
|
| 796 | ); |
|
| 797 | } |
|
| 798 | } |
|
| 799 | ||
| 800 | // Author doesn't have valid data, throw back. |
|