| @@ 881-886 (lines=6) @@ | ||
| 878 | ||
| 879 | // If there was any errors, either with pre processing or because of a |
|
| 880 | // duplicate page, return. |
|
| 881 | if (is_array($this->_errors) && !empty($this->_errors)) { |
|
| 882 | return $this->pageAlert( |
|
| 883 | __('An error occurred while processing this form. See below for details.'), |
|
| 884 | Alert::ERROR |
|
| 885 | ); |
|
| 886 | } |
|
| 887 | } |
|
| 888 | } |
|
| 889 | ||
| @@ 729-731 (lines=3) @@ | ||
| 726 | } |
|
| 727 | ||
| 728 | // Author doesn't have valid data, throw back. |
|
| 729 | if (is_array($this->_errors) && !empty($this->_errors)) { |
|
| 730 | $this->pageAlert(__('There were some problems while attempting to save. Please check below for problem fields.'), Alert::ERROR); |
|
| 731 | } |
|
| 732 | } elseif (@array_key_exists('delete', $_POST['action'])) { |
|
| 733 | /** |
|
| 734 | * Prior to deleting an author, provided with the Author ID. |
|