From 4af4977912cb3c1bd793d4ec3252dff31b68d028 Mon Sep 17 00:00:00 2001 From: Oscar Otero Date: Fri, 8 Apr 2022 19:24:20 +0200 Subject: [PATCH] fixed #49 --- CHANGELOG.md | 6 ++++++ src/Queries/Select.php | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9986067..4e92e9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/) and this project adheres to [Semantic Versioning](http://semver.org/). +## [7.5.3] - Unreleased +### Fixed +- `orWhereSprintf` return error [#49]. + ## [7.5.2] - 2022-01-17 ### Fixed - PHP 8.1 support [#44] @@ -136,7 +140,9 @@ This library was rewritten and a lot of breaking changes were included. [#42]: https://github.com/oscarotero/simple-crud/issues/42 [#43]: https://github.com/oscarotero/simple-crud/issues/43 [#44]: https://github.com/oscarotero/simple-crud/issues/44 +[#49]: https://github.com/oscarotero/simple-crud/issues/49 +[7.5.3]: https://github.com/oscarotero/simple-crud/compare/v7.5.2...HEAD [7.5.2]: https://github.com/oscarotero/simple-crud/compare/v7.5.1...v7.5.2 [7.5.1]: https://github.com/oscarotero/simple-crud/compare/v7.5.0...v7.5.1 [7.5.0]: https://github.com/oscarotero/simple-crud/compare/v7.4.2...v7.5.0 diff --git a/src/Queries/Select.php b/src/Queries/Select.php index a38eed9..6fff28e 100644 --- a/src/Queries/Select.php +++ b/src/Queries/Select.php @@ -29,7 +29,7 @@ class Select extends Query 'whereSprintf', 'whereEquals', 'orWhere', - 'orWhereSprinf', + 'orWhereSprintf', 'catWhere', 'limit', 'offset',