From: Alexandre Emsenhuber Date: Mon, 28 Sep 2009 18:36:15 +0000 (+0000) Subject: replaced split() with explode(), the former is deprecated since PHP 5.3 X-Git-Tag: 1.31.0-rc.0~39487 X-Git-Url: http://git.cyclocoop.org/%24self?a=commitdiff_plain;h=168a1a8f90f07d9bff41f8b36f66a74c265a793a;p=lhc%2Fweb%2Fwiklou.git replaced split() with explode(), the former is deprecated since PHP 5.3 --- 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;