From 9415bbca12c01c39da58e0ed2c4e6b44ff833e5d Mon Sep 17 00:00:00 2001 From: donncha Date: Thu, 30 Nov 2006 18:54:22 +0000 Subject: WP Merge to 4559 git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@816 7be80a69-a1ef-0310-a953-fb0f7c49ff36 --- wp-includes/gettext.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'wp-includes/gettext.php') diff --git a/wp-includes/gettext.php b/wp-includes/gettext.php index cd08044..ed94ca9 100644 --- a/wp-includes/gettext.php +++ b/wp-includes/gettext.php @@ -63,10 +63,12 @@ class gettext_reader { function readint() { if ($this->BYTEORDER == 0) { // low endian - return array_shift(unpack('V', $this->STREAM->read(4))); + $low_end = unpack('V', $this->STREAM->read(4)); + return array_shift($low_end); } else { // big endian - return array_shift(unpack('N', $this->STREAM->read(4))); + $big_end = unpack('N', $this->STREAM->read(4)); + return array_shift($big_end); } } -- cgit