aboutsummaryrefslogtreecommitdiffstats
path: root/includes/ZhClient.php
diff options
context:
space:
mode:
authorZheng Zhu <zhengzhu@users.mediawiki.org>2004-11-29 02:36:27 +0000
committerZheng Zhu <zhengzhu@users.mediawiki.org>2004-11-29 02:36:27 +0000
commiteb170b4be7280bdb2ed0c81a7b501f890a1c8ea7 (patch)
tree07bfcc5ee9813084a8c9bf4e3e0dbeaf3dbfd782 /includes/ZhClient.php
parent542f1705ba1355cad5192abfa5c5a5c4ee307a78 (diff)
downloadmediawikicore-eb170b4be7280bdb2ed0c81a7b501f890a1c8ea7.tar.gz
mediawikicore-eb170b4be7280bdb2ed0c81a7b501f890a1c8ea7.zip
explode with limit
Notes
Notes: http://mediawiki.org/wiki/Special:Code/MediaWiki/6421
Diffstat (limited to 'includes/ZhClient.php')
-rw-r--r--includes/ZhClient.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/ZhClient.php b/includes/ZhClient.php
index e07908db9db0..7bedf827293d 100644
--- a/includes/ZhClient.php
+++ b/includes/ZhClient.php
@@ -106,7 +106,7 @@ class ZhClient {
$result = $this->query($q);
if(!$result)
return false;
- list($infoline, $data) = explode('|', $result);
+ list($infoline, $data) = explode('|', $result, 2);
$info = explode(";", $infoline);
$ret = array();
$i=0;