| @@ -119,9 +119,9 @@ | ||
| 119 | 119 | */ |
| 120 | 120 | public function show() { |
| 121 | 121 | $data = $this->get_cache(); |
| 122 | 122 | if ( is_array( $data ) && count( $data ) ) { |
| 123 | - tutor_closeable_alert_msg( $data['message'], $data['alert'], array(), $data['css_class'] ?? '' ); | |
| 123 | + tutor_closeable_alert_msg( $data['message'], $data['alert'] ); | |
| 124 | 124 | |
| 125 | 125 | // Delete flash message. |
| 126 | 126 | $this->delete_cache(); |
| 127 | 127 | } |