|
@@ -75,7 +75,7 @@ class Notify extends Api
|
|
|
|
|
|
private function error($msg)
|
|
|
{
|
|
|
- if ($this->info['notify_error']) {
|
|
|
+ if ($this->info && $this->info['notify_error']) {
|
|
|
if ($this->info['notify_error'] == 500) {
|
|
|
header("HTTP/1.1 500 Internal Server Error");
|
|
|
header("Status: 500 Internal Server Error");
|