From da6d31366f809720d0cd411ddc02249c518ce9f5 Mon Sep 17 00:00:00 2001 From: Jamie Matthews Date: Wed, 3 Nov 2010 22:54:01 +0000 Subject: Parameters to where_raw method are now optional --- idiorm.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'idiorm.php') 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); } -- cgit v1.2.3