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:
parent
4b2a13aba9
commit
2ad8f70450
|
@ -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
|
||||
|
|
|
@ -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)));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue