Fix PHP Notice: Undefined variable: body in /usr/share/davical/inc/iSchedule.php on line 435

This commit is contained in:
ruliane authored and Andrew Ruthven committed 2022-12-12 20:57:34 +00:00
1 parent a9d438dc0f
commit 19ec6fd2fb
1 file changed
+1 -1
+1 -1
View File
@@ -434,7 +434,7 @@ class iSchedule
$headers['Content-Type'] = 'text/calendar; component=' . $component ;
if ( $method )
$headers['Content-Type'] .= '; method=' . $method;
$headers['DKIM-Signature'] = $this->signDKIM ( $headers, $body );
$headers['DKIM-Signature'] = $this->signDKIM ( $headers, $data );
if ( $headers['DKIM-Signature'] == false )
return false;
$request_headers = array ( );