| @@ -54,9 +54,9 @@ | ||
| 54 | 54 | 'totalBooked' => $totalBooked, |
| 55 | 55 | 'totalCompleted' => $totalCompleted, |
| 56 | 56 | ]; |
| 57 | 57 | |
| 58 | - $adminEmail = str_replace('{{wp.admin_email}}', get_option('admin_email'), $adminEmail); | |
| 58 | + $adminEmail = str_replace('{{wp.admin_email}}', (string) get_option('admin_email', ''), $adminEmail); | |
| 59 | 59 | if(!$adminEmail) { |
| 60 | 60 | return; |
| 61 | 61 | } |
| 62 | 62 | |