@@ 882-886 (lines=5) @@ | ||
879 | } |
|
880 | $print_scripts = EE_Error::combineExistingAndNewNotices(); |
|
881 | // check for success messages |
|
882 | if (self::$_espresso_notices['success'] && ! empty(self::$_espresso_notices['success'])) { |
|
883 | // combine messages |
|
884 | $success_messages .= implode(self::$_espresso_notices['success'], '<br />'); |
|
885 | $print_scripts = true; |
|
886 | } |
|
887 | // check for attention messages |
|
888 | if (self::$_espresso_notices['attention'] && ! empty(self::$_espresso_notices['attention'])) { |
|
889 | // combine messages |
|
@@ 888-892 (lines=5) @@ | ||
885 | $print_scripts = true; |
|
886 | } |
|
887 | // check for attention messages |
|
888 | if (self::$_espresso_notices['attention'] && ! empty(self::$_espresso_notices['attention'])) { |
|
889 | // combine messages |
|
890 | $attention_messages .= implode(self::$_espresso_notices['attention'], '<br />'); |
|
891 | $print_scripts = true; |
|
892 | } |
|
893 | // check for error messages |
|
894 | if (self::$_espresso_notices['errors'] && ! empty(self::$_espresso_notices['errors'])) { |
|
895 | $error_messages .= count(self::$_espresso_notices['errors']) > 1 |