summaryrefslogtreecommitdiff
path: root/idiorm.php
diff options
context:
space:
mode:
authorJamie Matthews <[email protected]>2010-11-03 22:54:01 +0000
committerJamie Matthews <[email protected]>2010-11-03 22:54:01 +0000
commitda6d31366f809720d0cd411ddc02249c518ce9f5 (patch)
treecd00fc19ce5444e26555669b833cc8b78f1cbcce /idiorm.php
parente4d6bad6924fa50b8295da971293671ec3122a51 (diff)
Parameters to where_raw method are now optional
Diffstat (limited to 'idiorm.php')
-rw-r--r--idiorm.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/idiorm.php b/idiorm.php
index 4f02ca4..1fbd54c 100644
--- a/idiorm.php
+++ b/idiorm.php
@@ -661,7 +661,7 @@
* contain question mark placeholders, which will be bound
* to the parameters supplied in the second argument.
*/
- public function where_raw($clause, $parameters) {
+ public function where_raw($clause, $parameters=array()) {
return $this->_add_where($clause, $parameters);
}