We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b5f4ee8 commit ca3fb6bCopy full SHA for ca3fb6b
src/IMAP/Query/WhereQuery.php
@@ -81,7 +81,12 @@ public function __call($name, $arguments) {
81
$name = substr($name, 3);
82
}
83
84
- $method = 'where'.ucfirst($name);
+ if (strpos(strtolower($name), "where") === false){
85
+ $method = 'where'.ucfirst($name);
86
+ }else{
87
+ $method = lcfirst($name);
88
+ }
89
+
90
if(method_exists($this, $method) === true){
91
return call_user_func_array([$that, $method], $arguments);
92
0 commit comments