From 168a1a8f90f07d9bff41f8b36f66a74c265a793a Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Mon, 28 Sep 2009 18:36:15 +0000 Subject: [PATCH] replaced split() with explode(), the former is deprecated since PHP 5.3 --- includes/api/ApiParse.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiParse.php b/includes/api/ApiParse.php index 22f1367d2d..b223dbba54 100644 --- a/includes/api/ApiParse.php +++ b/includes/api/ApiParse.php @@ -178,7 +178,7 @@ class ApiParse extends ApiBase { $result = array(); foreach( $links as $link ) { $entry = array(); - $bits = split( ':', $link, 2 ); + $bits = explode( ':', $link, 2 ); $entry['lang'] = $bits[0]; $this->getResult()->setContent( $entry, $bits[1] ); $result[] = $entry; -- 2.20.1