| @@ 536-544 (lines=9) @@ | ||
| 533 | ||
| 534 | if (is_array($this->_errors) && !empty($this->_errors)) { |
|
| 535 | $this->pageAlert(__('There were some problems while attempting to save. Please check below for problem fields.'), Alert::ERROR); |
|
| 536 | } else { |
|
| 537 | $this->pageAlert( |
|
| 538 | __('Unknown errors occurred while attempting to save.') |
|
| 539 | . '<a href="' . SYMPHONY_URL . '/system/log/">' |
|
| 540 | . __('Check your activity log') |
|
| 541 | . '</a>.', |
|
| 542 | Alert::ERROR |
|
| 543 | ); |
|
| 544 | } |
|
| 545 | } |
|
| 546 | } |
|
| 547 | ||
| @@ 672-680 (lines=9) @@ | ||
| 669 | redirect(SYMPHONY_URL . '/system/authors/edit/' . $author_id . '/saved/'); |
|
| 670 | ||
| 671 | // Problems. |
|
| 672 | } else { |
|
| 673 | $this->pageAlert( |
|
| 674 | __('Unknown errors occurred while attempting to save.') |
|
| 675 | . '<a href="' . SYMPHONY_URL . '/system/log/">' |
|
| 676 | . __('Check your activity log') |
|
| 677 | . '</a>.', |
|
| 678 | Alert::ERROR |
|
| 679 | ); |
|
| 680 | } |
|
| 681 | } |
|
| 682 | ||
| 683 | // Author doesn't have valid data, throw back. |
|