Quellcode durchsuchen

Add syslog_enabled when creating new simplepie_file

Jonas Östanbäck vor 9 Jahren
Ursprung
Commit
d6bd90a801
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. 1 1
      lib/SimplePie/SimplePie.php

+ 1 - 1
lib/SimplePie/SimplePie.php

@@ -1579,7 +1579,7 @@ class SimplePie
 						$headers['if-none-match'] = $this->data['headers']['etag'];
 						$headers['if-none-match'] = $this->data['headers']['etag'];
 					}
 					}
 
 
-					$file = $this->registry->create('File', array($this->feed_url, $this->timeout, 5, $headers, $this->useragent, $this->force_fsockopen, $this->curl_options));
+					$file = $this->registry->create('File', array($this->feed_url, $this->timeout, 5, $headers, $this->useragent, $this->force_fsockopen, $this->curl_options, $this->syslog_enabled));
 
 
 					if ($file->success)
 					if ($file->success)
 					{
 					{