Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Up version to 1.0.5, fix another bug.

  • Loading branch information...
commit f3e2600958044d8ee0641a71a10fd828259df7f5 1 parent a30fadd
bascelik authored
Showing with 12 additions and 2 deletions.
  1. +10 −0 ChangeLog
  2. +1 −1  Makefile
  3. +1 −1  gettext.php
View
10 ChangeLog
@@ -1,5 +1,15 @@
2005-07-29 Danilo Šegan <danilo@gnome.org>
+ * Makefile (VERSION): Up to 1.0.5.
+
+2005-07-29 Danilo Šegan <danilo@gnome.org>
+
+ Fixes bug #13850.
+
+ * gettext.php (gettext_reader): check $Reader->error as well.
+
+2005-07-29 Danilo Šegan <danilo@gnome.org>
+
* Makefile (VERSION): Up to 1.0.4.
2005-07-29 Danilo Šegan <danilo@gnome.org>
View
2  Makefile
@@ -1,5 +1,5 @@
PACKAGE = php-gettext-$(VERSION)
-VERSION = 1.0.4
+VERSION = 1.0.5
DIST_FILES = \
gettext.php \
View
2  gettext.php
@@ -94,7 +94,7 @@ function readintarray($count) {
*/
function gettext_reader($Reader, $enable_cache = true) {
// If there isn't a StreamReader, turn on short circuit mode.
- if (! $Reader) {
+ if (! $Reader || isset($Reader->error) ) {
$this->short_circuit = true;
return;
}
Please sign in to comment.
Something went wrong with that request. Please try again.