2014-03-27 Miguel de Dios <miguel.dedios@artica.es>

* include/gettext.php: fixed the PHP warnings.
	
	Incident: #656




git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9658 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
mdtrooper 2014-03-27 16:17:39 +00:00
parent 4b2a13aba9
commit 2ad8f70450
2 changed files with 12 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2014-03-27 Miguel de Dios <miguel.dedios@artica.es>
* include/gettext.php: fixed the PHP warnings.
Incident: #656
2014-03-27 Vanessa Gil <vanessa.gil@artica.es>
* include/languages/ca.mo

View File

@ -70,10 +70,14 @@ class gettext_reader {
function readint() {
if ($this->BYTEORDER == 0) {
// low endian
return array_shift(unpack('V', $this->STREAM->read(4)));
$_var=unpack('V', $this->STREAM->read(4));
return array_shift($_var);
//return array_shift(unpack('V', $this->STREAM->read(4)));
} else {
// big endian
return array_shift(unpack('N', $this->STREAM->read(4)));
$_var=unpack('N', $this->STREAM->read(4));
return array_shift($_var);
//return array_shift(unpack('N', $this->STREAM->read(4)));
}
}