diff --git a/CHANGELOG.md b/CHANGELOG.md index 317b6fc..d7633d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -178,4 +178,5 @@ and may require changes in applications that invoke these methods:_ [#125]: https://github.com/hamstar/Wikimate/pull/125 [#127]: https://github.com/hamstar/Wikimate/pull/127 [#128]: https://github.com/hamstar/Wikimate/pull/128 +[#129]: https://github.com/hamstar/Wikimate/pull/129 [#130]: https://github.com/hamstar/Wikimate/pull/130 diff --git a/Wikimate.php b/Wikimate.php index 0f7a1fc..ee9ba3d 100644 --- a/Wikimate.php +++ b/Wikimate.php @@ -1308,7 +1308,7 @@ public function setText($text, $section = null, $minor = false, $summary = null) // Check for errors if (isset($r['error'])) { $this->error = $r['error']; // Set the error if there was one - return null; + return false; } else { $this->error = null; // Reset the error status }