ports/net-mgmt/nagios/files/patch-html_includes_rss_parse.inc
Palle Girgensohn a7efdfb5dd Help nagios cope with php-7
split has been replaced with explode

PR:	224509
2018-01-23 22:54:03 +00:00

11 lines
498 B
PHP

--- html/includes/rss/rss_parse.inc.orig 2017-12-21 16:55:41.032397000 +0100
+++ html/includes/rss/rss_parse.inc 2017-12-21 16:57:40.079068000 +0100
@@ -150,7 +150,7 @@
// check for a namespace, and split if found
$ns = false;
if ( strpos( $element, ':' ) ) {
- list($ns, $el) = split( ':', $element, 2);
+ list($ns, $el) = explode( ':', $element, 2);
}
if ( $ns and $ns != 'rdf' ) {
$this->current_namespace = $ns;