From a58285fd06c8113c45377c655dd43cef6337e815 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 11 Jan 2007 19:06:07 +0000 Subject: Aktualisierung auf MediaWiki 1.9.0 --- includes/ZhClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/ZhClient.php') diff --git a/includes/ZhClient.php b/includes/ZhClient.php index 0451ce81..9c9461d5 100644 --- a/includes/ZhClient.php +++ b/includes/ZhClient.php @@ -38,6 +38,7 @@ class ZhClient { */ function connect() { wfSuppressWarnings(); + $errno = $errstr = ''; $this->mFP = fsockopen($this->mHost, $this->mPort, $errno, $errstr, 30); wfRestoreWarnings(); if(!$this->mFP) { @@ -115,7 +116,6 @@ class ZhClient { foreach($info as $variant) { list($code, $len) = explode(' ', $variant); $ret[strtolower($code)] = substr($data, $i, $len); - $r = $ret[strtolower($code)]; $i+=$len; } return $ret; -- cgit v1.2.2